We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 98448cd + e819095 commit 0b8a3a0Copy full SHA for 0b8a3a0
1 file changed
release/scripts/mgear/shifter/mocap_tools.py
@@ -21,6 +21,8 @@
21
u"Spine",
22
u"Spine1",
23
u"Spine2",
24
+ u"Spine3",
25
+ u"Spine4",
26
u"LeftShoulder",
27
u"LeftArm",
28
u"LeftForeArm",
@@ -61,6 +63,8 @@
61
63
u"RightHandPinky3",
62
64
u"Neck",
65
u"Neck1",
66
+ u"Neck2",
67
+ u"Neck3",
68
u"Head"
69
)
70
]
@@ -201,7 +205,8 @@ def characterizeBiped(*args):
201
205
oB = pm.PyNode(b)
202
206
except Exception:
203
207
pm.displayWarning(b + ": Is not in the scene")
204
- tra.matchWorldTransform(oB, oA)
208
+ if a and b:
209
+ tra.matchWorldTransform(oB, oA)
210
211
# Constrain FK controls
212
for a, b in zip(skelFK, gearFK):
0 commit comments