diff options
Diffstat (limited to 'rigify/legacy')
-rw-r--r-- | rigify/legacy/rigs/pitchipoy/simple_tentacle.py | 2 | ||||
-rw-r--r-- | rigify/legacy/rigs/pitchipoy/super_face.py | 2 | ||||
-rw-r--r-- | rigify/legacy/rigs/pitchipoy/super_palm.py | 2 | ||||
-rw-r--r-- | rigify/legacy/rigs/pitchipoy/tentacle.py | 2 | ||||
-rw-r--r-- | rigify/legacy/utils.py | 4 |
5 files changed, 6 insertions, 6 deletions
diff --git a/rigify/legacy/rigs/pitchipoy/simple_tentacle.py b/rigify/legacy/rigs/pitchipoy/simple_tentacle.py index 9351a659..facb2b90 100644 --- a/rigify/legacy/rigs/pitchipoy/simple_tentacle.py +++ b/rigify/legacy/rigs/pitchipoy/simple_tentacle.py @@ -194,7 +194,7 @@ class Rig: setattr( con, prop, True ) else: setattr( con, prop, False ) - con.use_offset = True + con.mix_mode = 'OFFSET' con.target_space = 'LOCAL' con.owner_space = 'LOCAL' diff --git a/rigify/legacy/rigs/pitchipoy/super_face.py b/rigify/legacy/rigs/pitchipoy/super_face.py index 41d1169e..5a46299a 100644 --- a/rigify/legacy/rigs/pitchipoy/super_face.py +++ b/rigify/legacy/rigs/pitchipoy/super_face.py @@ -698,7 +698,7 @@ class Rig: const = owner_pb.constraints.new( 'COPY_ROTATION' ) const.target = self.obj const.subtarget = subtarget - const.use_offset = True + const.mix_mode = 'OFFSET' const.target_space = 'LOCAL' const.owner_space = 'LOCAL' diff --git a/rigify/legacy/rigs/pitchipoy/super_palm.py b/rigify/legacy/rigs/pitchipoy/super_palm.py index 68d38958..a87eb735 100644 --- a/rigify/legacy/rigs/pitchipoy/super_palm.py +++ b/rigify/legacy/rigs/pitchipoy/super_palm.py @@ -110,7 +110,7 @@ class Rig: # turn off inherit scale for all ORG-bones to prevent undesired transformations for o in self.org_bones: - eb[o].use_inherit_scale = False + eb[o].inherit_scale = 'NONE' for d, b in zip(def_bones, self.org_bones): eb[d].use_connect = False diff --git a/rigify/legacy/rigs/pitchipoy/tentacle.py b/rigify/legacy/rigs/pitchipoy/tentacle.py index c3a8c85a..36c7f40a 100644 --- a/rigify/legacy/rigs/pitchipoy/tentacle.py +++ b/rigify/legacy/rigs/pitchipoy/tentacle.py @@ -307,7 +307,7 @@ class Rig: con = pb[ctrl].constraints.new('COPY_ROTATION') con.target = self.obj con.subtarget = ctrls[ ctrls.index(ctrl) - 1 ] - con.use_offset = True + con.mix_mode = 'OFFSET' con.target_space = 'LOCAL' con.owner_space = 'LOCAL' diff --git a/rigify/legacy/utils.py b/rigify/legacy/utils.py index 6a92a961..cd7d61c3 100644 --- a/rigify/legacy/utils.py +++ b/rigify/legacy/utils.py @@ -190,8 +190,8 @@ def copy_bone(obj, bone_name, assign_name=''): edit_bone_2.roll = edit_bone_1.roll edit_bone_2.use_inherit_rotation = edit_bone_1.use_inherit_rotation - edit_bone_2.use_inherit_scale = edit_bone_1.use_inherit_scale edit_bone_2.use_local_location = edit_bone_1.use_local_location + edit_bone_2.inherit_scale = edit_bone_1.inherit_scale edit_bone_2.use_deform = edit_bone_1.use_deform edit_bone_2.bbone_segments = edit_bone_1.bbone_segments @@ -395,7 +395,7 @@ def create_widget(rig, bone_name, bone_transform_name=None): obj_name = WGT_PREFIX + bone_name scene = bpy.context.scene - collection = bpy.context.collection + collection = ensure_widget_collection(bpy.context) # Check if it already exists in the scene if obj_name in scene.objects: |