projects
/
platform
/
upstream
/
assimp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbde54b
)
FBX: add missing inversion of postrotation matrix for fbx.
author
Kim Kulling
<kim.kulling@googlemail.com>
Mon, 18 Sep 2017 22:31:41 +0000
(
00:31
+0200)
committer
Kim Kulling
<kim.kulling@googlemail.com>
Mon, 18 Sep 2017 22:31:41 +0000
(
00:31
+0200)
code/FBXConverter.cpp
patch
|
blob
|
history
diff --git
a/code/FBXConverter.cpp
b/code/FBXConverter.cpp
index
f53ae02
..
8d85bb8
100644
(file)
--- a/
code/FBXConverter.cpp
+++ b/
code/FBXConverter.cpp
@@
-1065,6
+1065,10
@@
void Converter::GenerateTransformationNodeChain( const Model& model,
continue;
}
+ if ( comp == TransformationComp_PostRotation ) {
+ chain[ i ] = chain[ i ].Inverse();
+ }
+
aiNode* nd = new aiNode();
output_nodes.push_back( nd );