From 905d04ef9d9c9e7ec39c80791f17ebba257e5f1c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 9 Jul 2011 14:33:28 +0000 Subject: fix [#27915] Relax Pose crashes blender on bone with ChildOf constraint in linked rig --- source/blender/editors/armature/poseUtils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/armature/poseUtils.c b/source/blender/editors/armature/poseUtils.c index 7ade93076e5..3c74a816fdb 100644 --- a/source/blender/editors/armature/poseUtils.c +++ b/source/blender/editors/armature/poseUtils.c @@ -121,7 +121,7 @@ static void fcurves_to_pchan_links_get (ListBase *pfLinks, Object *ob, bAction * pfl->oldangle = pchan->rotAngle; /* make copy of custom properties */ - if (transFlags & ACT_TRANS_PROP) + if (pchan->prop && (transFlags & ACT_TRANS_PROP)) pfl->oldprops = IDP_CopyProperty(pchan->prop); } } -- cgit v1.2.3