Bug in GuiTreeviewCtrl.cc (1.4 RC2)
by Stephane Savioz · in Torque Game Engine · 09/23/2005 (1:26 am) · 1 replies
In the World Editor, it is possible to have 2 Mission groups selected (see picture, 2 of them are selected in green)

Here is my fix :
in GuiTreeViewCtrl.cc::onRenderCell()
change the code in row 2785
by
Here is my fix :
in GuiTreeViewCtrl.cc::onRenderCell()
change the code in row 2785
if (item->isParent())
{
if ( !dStrcmp(item->getObject()->getClassName(), "SimGroup") )
{
if (item->isExpanded())
item->mIcon = SimGroup1;
else
item->mIcon = SimGroup2;
}
}by
if ( !dStrcmp(item->getObject()->getClassName(), "SimGroup") )
{
if (item->isParent())
{
if (item->isExpanded())
item->mIcon = SimGroup1;
else
item->mIcon = SimGroup2;
}
else
item->mIcon = SimGroup2;
}
Associate Kyle Carter