MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / _expandObjectHierarchy

Method _expandObjectHierarchy

Engine/source/gui/controls/guiTreeViewCtrl.cpp:1124–1139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1122//------------------------------------------------------------------------------
1123
1124void GuiTreeViewCtrl::_expandObjectHierarchy( SimGroup* group )
1125{
1126 SimGroup* parent = group->getGroup();
1127 if( parent && !parent->isExpanded() )
1128 _expandObjectHierarchy( parent );
1129
1130 if( !group->isExpanded() )
1131 {
1132 Item* item;
1133 if( objectSearch( group, &item ) )
1134 {
1135 item->setExpanded();
1136 onVirtualParentBuild( item, false );
1137 }
1138 }
1139}
1140
1141//------------------------------------------------------------------------------
1142

Callers

nothing calls this directly

Calls 3

getGroupMethod · 0.45
isExpandedMethod · 0.45
setExpandedMethod · 0.45

Tested by

no test coverage detected