|
@@ -71,6 +71,8 @@ Prefab::Prefab()
|
|
mNetFlags.clear(Ghostable);
|
|
mNetFlags.clear(Ghostable);
|
|
|
|
|
|
mTypeMask |= StaticObjectType;
|
|
mTypeMask |= StaticObjectType;
|
|
|
|
+
|
|
|
|
+ mFilename = StringTable->EmptyString();
|
|
}
|
|
}
|
|
|
|
|
|
Prefab::~Prefab()
|
|
Prefab::~Prefab()
|
|
@@ -558,6 +560,7 @@ bool Prefab::buildExportPolyList(ColladaUtils::ExportData* exportData, const Box
|
|
|
|
|
|
void Prefab::getUtilizedAssets(Vector<StringTableEntry>* usedAssetsList)
|
|
void Prefab::getUtilizedAssets(Vector<StringTableEntry>* usedAssetsList)
|
|
{
|
|
{
|
|
|
|
+ if (!mChildGroup) return;
|
|
Vector<SceneObject*> foundObjects;
|
|
Vector<SceneObject*> foundObjects;
|
|
mChildGroup->findObjectByType(foundObjects);
|
|
mChildGroup->findObjectByType(foundObjects);
|
|
|
|
|