prefab safeties

This commit is contained in:
AzaezelX 2021-08-17 14:41:09 -05:00
parent 2e68f56b59
commit 68fee78744

View file

@ -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);