Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2014-04-27 20:27:07 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-04-27 20:27:53 +0400
commit4aea8f10855e9de162ca3ea0c232d2590ec386ba (patch)
tree88c2a52082a58a1542decdc042c7ab0f4054c112 /source/blender/collada/AnimationExporter.cpp
parent1973b17fce65a4dfececb45b19abec37898c1ab5 (diff)
Fix T39919: Collada export crashes blender when using a "Copy Location" constraint
Diffstat (limited to 'source/blender/collada/AnimationExporter.cpp')
-rw-r--r--source/blender/collada/AnimationExporter.cpp4
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();