BUGFIX: Fix compiler warning : suggested parthesis.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@519 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
c920982464
commit
7cb337a8b8
|
@ -792,7 +792,7 @@ void Discreet3DSImporter::GenerateNodeGraph(aiScene* pcOut)
|
||||||
|
|
||||||
// If the root node is unnamed name it "<3DSRoot>"
|
// If the root node is unnamed name it "<3DSRoot>"
|
||||||
if (::strstr( pcOut->mRootNode->mName.data, "UNNAMED" ) ||
|
if (::strstr( pcOut->mRootNode->mName.data, "UNNAMED" ) ||
|
||||||
pcOut->mRootNode->mName.data[0] == '$' && pcOut->mRootNode->mName.data[1] == '$')
|
(pcOut->mRootNode->mName.data[0] == '$' && pcOut->mRootNode->mName.data[1] == '$') )
|
||||||
{
|
{
|
||||||
pcOut->mRootNode->mName.Set("<3DSRoot>");
|
pcOut->mRootNode->mName.Set("<3DSRoot>");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue