Open willox opened 9 years ago
Any updates? This bug forces DModelPanel to break ToScreen() waht called after model is drawn https://github.com/garrynewman/garrysmod/blob/master/garrysmod/lua/vgui/dmodelpanel.lua#L151
Update: Calling
cam.Start3D()
cam.End3D()
with no arguments after panel is drawn will fix ToScreen()
Removing cam context
This example shows the issue by modifying the FOV, but changing any parameter to Start3D will cause this.
The confusing thing about this is that in some cases it is optimal behaviour, but usually it isn't.