From f77d0afa550f63ba3c93086669cb57668b7f953c Mon Sep 17 00:00:00 2001 From: aramis_acg Date: Tue, 8 Mar 2011 17:46:39 +0000 Subject: [PATCH] - 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 --- code/3DSConverter.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/3DSConverter.cpp b/code/3DSConverter.cpp index 9a7e57d78..417e807f3 100644 --- a/code/3DSConverter.cpp +++ b/code/3DSConverter.cpp @@ -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" ) ||