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

pull/1745/head
Turo Lamminen 2018-01-27 17:35:03 +02:00
parent 6c23b57208
commit 0d69b15238
1 changed files with 1 additions and 1 deletions

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;