[Bf-extensions-cvs] [b701b514] master: Same change as in D8422, that patch forgot to address object constraints.
Demeter Dzadik
noreply at git.blender.org
Wed Aug 25 13:05:11 CEST 2021
Commit: b701b514de3671376de790358b2562214b964895
Author: Demeter Dzadik
Date: Wed Aug 25 13:05:08 2021 +0200
Branches: master
https://developer.blender.org/rBAb701b514de3671376de790358b2562214b964895
Same change as in D8422, that patch forgot to address object constraints.
===================================================================
M space_view3d_copy_attributes.py
===================================================================
diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py
index 2d1fff59..29da77ab 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'}
More information about the Bf-extensions-cvs
mailing list