- revert previous changes to the 3DS loader until further clarification is done.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@917 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
aramis_acg 2011-03-08 17:46:39 +00:00
parent fbeb20175c
commit f77d0afa55
1 changed files with 2 additions and 3 deletions

View File

@ -788,12 +788,11 @@ void Discreet3DSImporter::GenerateNodeGraph(aiScene* pcOut)
for (unsigned int a = 0; a < pcOut->mNumMeshes;++a)
pcOut->mMeshes[a]->mColors[0] = NULL;
// No need for coordinate space adjustment, 3ds' coordinate system equals Assimp's.
/*pcOut->mRootNode->mTransformation = aiMatrix4x4(
pcOut->mRootNode->mTransformation = aiMatrix4x4(
1.f,0.f,0.f,0.f,
0.f,0.f,1.f,0.f,
0.f,-1.f,0.f,0.f,
0.f,0.f,0.f,1.f) * pcOut->mRootNode->mTransformation;*/
0.f,0.f,0.f,1.f) * pcOut->mRootNode->mTransformation;
// If the root node is unnamed name it "<3DSRoot>"
if (::strstr( pcOut->mRootNode->mName.data, "UNNAMED" ) ||