| 560 | } |
| 561 | |
| 562 | void Prefab::getUtilizedAssets(Vector<StringTableEntry>* usedAssetsList) |
| 563 | { |
| 564 | if (!mChildGroup) return; |
| 565 | Vector<SceneObject*> foundObjects; |
| 566 | mChildGroup->findObjectByType(foundObjects); |
| 567 | |
| 568 | for (S32 i = 0; i < foundObjects.size(); i++) |
| 569 | { |
| 570 | SceneObject* child = foundObjects[i]; |
| 571 | |
| 572 | child->getUtilizedAssets(usedAssetsList); |
| 573 | } |
| 574 | } |
| 575 | |
| 576 | ExplodePrefabUndoAction::ExplodePrefabUndoAction( Prefab *prefab ) |
| 577 | : UndoAction( "Explode Prefab" ) |
no test coverage detected