Skip to content

Commit

Permalink
argh tiny bug
Browse files Browse the repository at this point in the history
  • Loading branch information
internetimagery committed Nov 9, 2015
1 parent 178ea2e commit be96d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attach.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def attach(j1, j2):
orient(j2, j3, v3)

if i and v3.dot(prev) <= 0.0 and s.flipping:
cmds.xform(j2.joint, r=True, os=True, ro=j2.targets["rotationOrder"] * (180,180,180))
cmds.xform(j2.joint, r=True, os=True, ro=AXIS[j2.roo[0]] * (180,180,180))
prev = -v3
else:
prev = v3
Expand Down

0 comments on commit be96d85

Please sign in to comment.