From 0d69b15238e70edd4fe2cf74a33c3b97b0cb12cc Mon Sep 17 00:00:00 2001 From: Turo Lamminen Date: Sat, 27 Jan 2018 17:35:03 +0200 Subject: [PATCH] 3DS: Explicitly pass "UNNAMED" as 3DS root node name --- code/3DSLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/3DSLoader.cpp b/code/3DSLoader.cpp index 1dd3ad4be..17c06f44d 100644 --- a/code/3DSLoader.cpp +++ b/code/3DSLoader.cpp @@ -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;