3DS: Explicitly pass "UNNAMED" as 3DS root node name

This commit is contained in:
Turo Lamminen
2018-01-27 18:48:57 +02:00
parent 6c23b57208
commit 0d69b15238
+1 -1
View File
@@ -170,7 +170,7 @@ void Discreet3DSImporter::InternReadFile( const std::string& pFile,
// Initialize members
mLastNodeIndex = -1;
mCurrentNode = new D3DS::Node();
mCurrentNode = new D3DS::Node("UNNAMED");
mRootNode = mCurrentNode;
mRootNode->mHierarchyPos = -1;
mRootNode->mHierarchyIndex = -1;