GuiObjectView not displaying DTS models?
by Brian M · in Torque 3D Professional · 06/23/2011 (6:14 am) · 4 replies
When we upgraded our game to 1.1 Final, the GuiObjectView controls in our GUIs are no longer displaying their DTS files... For example, our character selection screen does not show the character model anymore like it did in 1.1 B3.
Did something change that I'm not aware of in terms of how GuiObjectView controls work?
Recreating a control from scratch using the editor and then assigning a DTS file to it doesn't work either, so it's not just old existing controls that are the problem - seems to be the GuiObjectView in general is not functioning, unless there's something I'm missing.
Is anyone else seeing this problem? We are running the new AFX 2.0 for T3D 1.1 (QR), if that makes a difference.
Ideas?
Thanks!
Did something change that I'm not aware of in terms of how GuiObjectView controls work?
Recreating a control from scratch using the editor and then assigning a DTS file to it doesn't work either, so it's not just old existing controls that are the problem - seems to be the GuiObjectView in general is not functioning, unless there's something I'm missing.
Is anyone else seeing this problem? We are running the new AFX 2.0 for T3D 1.1 (QR), if that makes a difference.
Ideas?
Thanks!
Torque 3D Owner Bryan Sawler
muteki corporation
Basically, in GuiObjectView::renderWorld around line 506 there's a couple of lines missing:
Those three lines need to be added just AFTER
SceneRenderState state ( gClientSceneGraph, SPT_Diffuse, SceneCameraState( GFX->getViewport(), frust, GFX->getWorldMatrix(), GFX->getProjectionMatrix() ), renderPass, false );and just BEFORE