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
Notes: blender-bot 2023-02-14 10:44:51 +01:00
Referenced by issue #39919, Collada export crashes blender when using a "Copy Location" constraint
1 changed files with 3 additions and 1 deletions

View File

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