diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-04-27 20:27:07 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-04-27 20:27:53 +0400 |
commit | 4aea8f10855e9de162ca3ea0c232d2590ec386ba (patch) | |
tree | 88c2a52082a58a1542decdc042c7ab0f4054c112 /source/blender/collada | |
parent | 1973b17fce65a4dfececb45b19abec37898c1ab5 (diff) |
Fix T39919: Collada export crashes blender when using a "Copy Location" constraint
Diffstat (limited to 'source/blender/collada')
-rw-r--r-- | source/blender/collada/AnimationExporter.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/collada/AnimationExporter.cpp b/source/blender/collada/AnimationExporter.cpp index 1763d185508..f2c057d32d8 100644 --- a/source/blender/collada/AnimationExporter.cpp +++ b/source/blender/collada/AnimationExporter.cpp @@ -999,7 +999,9 @@ std::string AnimationExporter::create_4x4_source(std::vector<float> &frames, Obj BIK_release_tree(scene, ob, ctime); } - enable_fcurves(ob->adt->action, NULL); + if (ob->adt) { + enable_fcurves(ob->adt->action, NULL); + } source.finish(); |