Fix [#26012] Import Collada: instance_node incorrectly handled
authorNathan Letwory <nathan@letworyinteractive.com>
Wed, 9 Mar 2011 14:16:21 +0000 (14:16 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Wed, 9 Mar 2011 14:16:21 +0000 (14:16 +0000)
commit3e8c838a99830012d447d218975653858d6c6ccf
tree161f21c80da4dd5172fae78a2b0e81badc167cfd
parenta23351fbb2beb8c4ffbbe6792d4114a118be6f7d
Fix [#26012] Import Collada: instance_node incorrectly handled
Reported by David Roy

When <instance_node>s where read, their transformation matrix got overwritten with the transform matrix
of their own node, not taking into account the parent node transformation. Instead of doing
that we now get the parent node transformation matrix and apply it to its own, and prevent
caller from overwriting this new transformation matrix.
source/blender/collada/AnimationImporter.cpp
source/blender/collada/DocumentImporter.cpp