Skip to content

Commit

Permalink
Rigify: minor tweaks.
Browse files Browse the repository at this point in the history
- Clear the IK toe control animation in the relevant operator.
- Allow changing the euler order of finger master control via metarig.
  • Loading branch information
angavrilov committed Jan 14, 2022
1 parent e54b9d2 commit 17844d2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rigify/rigs/limbs/leg.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def parent_ik_toe_control(self):
@stage.configure_bones
def configure_ik_toe_control(self):
if self.use_ik_toe:
self.copy_bone_properties(self.bones.org.main[3], self.bones.ctrl.ik_toe)
self.copy_bone_properties(self.bones.org.main[3], self.bones.ctrl.ik_toe, props=False)

@stage.generate_widgets
def make_ik_toe_control_widget(self):
Expand Down
2 changes: 1 addition & 1 deletion rigify/rigs/limbs/limb_rigs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,7 @@ def add_limb_snap_ik_to_fk(panel, *, master=None, fk_bones=[], ik_bones=[], tail
add_fk_ik_snap_buttons(
panel, 'pose.rigify_limb_ik2fk_{rig_id}', 'pose.rigify_limb_ik2fk_bake_{rig_id}',
label='IK->FK', rig_name=rig_name, properties=op_props,
clear_bones=ik_ctrl_bones + ik_extra_ctrls,
clear_bones=ik_ctrl_bones + tail_bones + ik_extra_ctrls,
)

#########################
Expand Down
2 changes: 2 additions & 0 deletions rigify/rigs/limbs/super_finger.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ def make_master_control(self):
def configure_master_control(self):
master = self.bones.ctrl.master

self.copy_bone_properties(self.bones.org[0], master, props=False, widget=False)

bone = self.get_bone(master)
bone.lock_scale = True, False, True

Expand Down

0 comments on commit 17844d2

Please sign in to comment.