From b701b514de3671376de790358b2562214b964895 Mon Sep 17 00:00:00 2001 From: Demeter Dzadik <demeter@blender.studio> Date: Wed, 25 Aug 2021 13:05:08 +0200 Subject: [PATCH] Same change as in D8422, that patch forgot to address object constraints. --- space_view3d_copy_attributes.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py index 2d1fff59d..29da77ab0 100644 --- a/space_view3d_copy_attributes.py +++ b/space_view3d_copy_attributes.py @@ -575,11 +575,7 @@ class CopySelectedObjectConstraints(Operator): for obj in selected: for index, flag in enumerate(self.selection): if flag: - old_constraint = active.constraints[index] - new_constraint = obj.constraints.new( - active.constraints[index].type - ) - generic_copy(old_constraint, new_constraint) + obj.constraints.copy(active.constraints[index]) return{'FINISHED'} -- GitLab