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

Method onEndInspect

Engine/source/T3D/entity.cpp:1435–1449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1433}
1434
1435void Entity::onEndInspect()
1436{
1437 Vector<EditorInspectInterface*> updaters = getComponents<EditorInspectInterface>();
1438 for (Vector<EditorInspectInterface*>::iterator it = updaters.begin(); it != updaters.end(); it++) {
1439 (*it)->onEndInspect();
1440 }
1441
1442 GuiTreeViewCtrl *editorTree = dynamic_cast<GuiTreeViewCtrl*>(Sim::findObject("EditorTree"));
1443 if (!editorTree)
1444 return;
1445
1446 S32 componentItemIdx = editorTree->findItemByName("Components");
1447
1448 editorTree->removeItem(componentItemIdx, false);
1449}
1450
1451static void writeTabs(Stream &stream, U32 count)
1452{

Callers 1

onMouseDownMethod · 0.45

Calls 5

findItemByNameMethod · 0.80
findObjectFunction · 0.50
beginMethod · 0.45
endMethod · 0.45
removeItemMethod · 0.45

Tested by

no test coverage detected