Page MenuHome

[Collada Animation Exporter] Consider armature's world matrix as identity
Closed, ArchivedPublic

Description

System Information
All

Blender Version
Broken: GIT commit 4d1ec4d9c705fefafc0e46721c405f2f2c5ff1ba Wed May 28 16:20:12 2014 +0200

Short description of error
During animation export collada exporter forget to mul by armature world matrix

Exact steps for others to reproduce the error
Load an animated rig whose armature has matrix_world different than identity
Export to collada
New File
Import From Collada
Play animation

Details

Type
Bug

Event Timeline

ju val (mp3butcher) updated the task description. (Show Details)
ju val (mp3butcher) raised the priority of this task from to Needs Triage by Developer.
ju val (mp3butcher) claimed this task.
ju val (mp3butcher) set Type to Bug.
ju val (mp3butcher) added a comment.EditedMay 28 2014, 5:45 PM

I made a patch for this bug but don't know if it's enough:

In blender/collada/AnimationExporter.cpp, replace line 964 with:

mul_m4_m4m4(mat, ob->obmat , pchan->pose_mat); ////copy_m4_m4(mat, pchan->pose_mat);
ju val (mp3butcher) updated the task description. (Show Details)