Merge branch 'blender-v2.92-release'
This commit is contained in:
commit
de9977260c
|
@ -517,7 +517,8 @@ static void updateDuplicateActionConstraintSettings(EditBone *dup_bone,
|
|||
/* See if there is any channels that uses this bone */
|
||||
ListBase ani_curves;
|
||||
BLI_listbase_clear(&ani_curves);
|
||||
if (BKE_fcurves_filter(&ani_curves, &act->curves, "pose.bones[", orig_bone->name)) {
|
||||
if ((act != NULL) &&
|
||||
BKE_fcurves_filter(&ani_curves, &act->curves, "pose.bones[", orig_bone->name)) {
|
||||
/* Create a copy and mirror the animation */
|
||||
for (LinkData *ld = ani_curves.first; ld; ld = ld->next) {
|
||||
FCurve *old_curve = ld->data;
|
||||
|
|
Loading…
Reference in New Issue