Commit: 4aea8f10855e9de162ca3ea0c232d2590ec386ba
Author: Bastien Montagne
Date:   Sun Apr 27 18:27:07 2014 +0200
https://developer.blender.org/rB4aea8f10855e9de162ca3ea0c232d2590ec386ba

Fix T39919: Collada export crashes blender when using a "Copy Location" 
constraint

===================================================================

M       source/blender/collada/AnimationExporter.cpp

===================================================================

diff --git a/source/blender/collada/AnimationExporter.cpp 
b/source/blender/collada/AnimationExporter.cpp
index 1763d185..f2c057d 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();

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to