Skip to content

Commit

Permalink
disconnect/connect leaf joints #52
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcampos committed Jul 10, 2023
1 parent 446b5fd commit 5536dec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions release/scripts/mgear/shifter/component/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,9 @@ def _addJoint(
self.addToGroup(leaf_jnt, "deformers")
# connect scale
jnt.disconnectAttr("scale")
jnt.disconnectAttr("shear")
pm.connectAttr(cns_m.scale, leaf_jnt.scale)
pm.connectAttr(cns_m.shear, leaf_jnt.shear)

else:
cns_m = None
Expand Down

0 comments on commit 5536dec

Please sign in to comment.