How to use GuiFileTreeCtrl in T3D?
by Ahsan Muzaheed · in Torque 3D Professional · 07/28/2013 (6:36 am) · 0 replies
I placed a GuiFileTreeCtrl into mainmenu.
but it shows nothing.
then i have set the rootpath to "art".
same result.
no error or warning!
after debugging i found out inside GuiFileTreeCtrl::onWake() it always return false.
sourceguicontrolsguiFileTreeCtrl.cpp
anyidea why it returned back?
old link:
same problem with some error notification.unsolved.
http://www.garagegames.com/community/forums/viewthread/131367/1#comment-847490
but it shows nothing.
then i have set the rootpath to "art".
same result.
no error or warning!
after debugging i found out inside GuiFileTreeCtrl::onWake() it always return false.
sourceguicontrolsguiFileTreeCtrl.cpp
bool GuiFileTreeCtrl::onWake()
{
if( !Parent::onWake() )
return false;------------>always returned from here
updateTree();-----------never called
return true;
}anyidea why it returned back?
old link:
same problem with some error notification.unsolved.
http://www.garagegames.com/community/forums/viewthread/131367/1#comment-847490
About the author
Torque 3D enthusiastic since 2010.Have been working in several T3D projects besides of Unreal Engine 4 and Unity 3D. NEED a hand with your project? SHoot me a mail. http://www.garagegames.com/community/forums /viewthread/138437/