mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 13:30:34 +00:00
prefab safeties
This commit is contained in:
parent
2e68f56b59
commit
68fee78744
1 changed files with 3 additions and 0 deletions
|
|
@ -71,6 +71,8 @@ Prefab::Prefab()
|
|||
mNetFlags.clear(Ghostable);
|
||||
|
||||
mTypeMask |= StaticObjectType;
|
||||
|
||||
mFilename = StringTable->EmptyString();
|
||||
}
|
||||
|
||||
Prefab::~Prefab()
|
||||
|
|
@ -558,6 +560,7 @@ bool Prefab::buildExportPolyList(ColladaUtils::ExportData* exportData, const Box
|
|||
|
||||
void Prefab::getUtilizedAssets(Vector<StringTableEntry>* usedAssetsList)
|
||||
{
|
||||
if (!mChildGroup) return;
|
||||
Vector<SceneObject*> foundObjects;
|
||||
mChildGroup->findObjectByType(foundObjects);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue