Browse Source

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

Turo Lamminen 7 years ago
parent
commit
0d69b15238
1 changed files with 1 additions and 1 deletions
  1. 1 1
      code/3DSLoader.cpp

+ 1 - 1
code/3DSLoader.cpp

@@ -170,7 +170,7 @@ void Discreet3DSImporter::InternReadFile( const std::string& pFile,
 
 
     // Initialize members
     // Initialize members
     mLastNodeIndex             = -1;
     mLastNodeIndex             = -1;
-    mCurrentNode               = new D3DS::Node();
+    mCurrentNode               = new D3DS::Node("UNNAMED");
     mRootNode                  = mCurrentNode;
     mRootNode                  = mCurrentNode;
     mRootNode->mHierarchyPos   = -1;
     mRootNode->mHierarchyPos   = -1;
     mRootNode->mHierarchyIndex = -1;
     mRootNode->mHierarchyIndex = -1;