/////////////////////////////////////////////////////////////////////
| 1626 | |
| 1627 | ////////////////////////////////////////////////////////////////////////// |
| 1628 | void CObjectManager::LoadObjects( CObjectArchive &objectArchive,bool bSelect ) |
| 1629 | { |
| 1630 | XmlNodeRef objectsNode = objectArchive.node; |
| 1631 | int numObjects = objectsNode->getChildCount(); |
| 1632 | for (int i = 0; i < numObjects; i++) |
| 1633 | { |
| 1634 | objectArchive.node = objectsNode->getChild(i); |
| 1635 | CBaseObject *obj = objectArchive.LoadObject( objectsNode->getChild(i) ); |
| 1636 | if (obj && bSelect) |
| 1637 | SelectObject( obj ); |
| 1638 | } |
| 1639 | objectArchive.ResolveObjects(); |
| 1640 | |
| 1641 | InvalidateVisibleList(); |
| 1642 | } |
| 1643 | |
| 1644 | ////////////////////////////////////////////////////////////////////////// |
| 1645 | void CObjectManager::Export( const CString &levelPath,XmlNodeRef &rootNode,bool onlyShared ) |
nothing calls this directly
no test coverage detected