• DModelPanel Height:Width Problems
    2 replies, posted
  • Avatar of Delremos
  • I'm not sure if this is a universal problem or not but, why is it that if a DModelPanel's Height is greater than it's width it decides not to render the model anymore (I know next to nothing about 3d2d and the like). e.g: [lua]local DMPan = vgui.Create( "DModelPanel", panel ) DMPan:SetSize( 256, 256 ) DMPan:SetModel( "models/props_c17/pulleywheels_small01.mdl" )[/lua] Would render the model whereas: [lua]local DMPan = vgui.Create( "DModelPanel", panel ) DMPan:SetSize( 255, 256 ) DMPan:SetModel( "models/props_c17/pulleywheels_small01.mdl" )[/lua] Would not. If anyone knows a fix (Or if I'm doing something just generally wrong) please post.