| 1433 | } |
| 1434 | |
| 1435 | void 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 | |
| 1451 | static void writeTabs(Stream &stream, U32 count) |
| 1452 | { |
no test coverage detected