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

This commit is contained in:
Bastien Montagne 2014-04-27 18:27:07 +02:00
parent 1973b17fce
commit 4aea8f1085

@ -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();