I’m playing with the DAdjustableModelPanel and found a pretty irritating problem.
I do not know if it’s a bug or not but I would really like to know if there is a solution.
When creating a DAdjustableModelPanel everything works fine with no errors but it’s invisible!
To be able to see and use (drag around and inspect the model) one must first click in the invisible box where it should be before the model pops up.
It’s like it isn’t setting the model or refreshing it until the user clicks inside of it to activate the dragging mechanic.
local mp = vgui.Create( "DAdjustableModelPanel", modelPanel ) mp:SetPos( 0, 0 ) mp:SetSize( w-w/3, h ) mp:SetLookAt( Vector( 0, 0, 0 ) ) mp:SetModel( CurrentModel )
Thank’s everyone for reading!