Skip to content
This repository was archived by the owner on Oct 7, 2021. It is now read-only.

Commit 342fa49

Browse files
authored
Update anim_utils.py
Get the ik_rot key value error in the ik_controls dictionary. These pictures are before and after correction.
1 parent c038076 commit 342fa49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/mgear/core/anim_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@ def get_ik_fk_controls_by_role(uiHost, attr_ctl_cnx):
331331
ik_controls["pole_vector"] = c.stripNamespace()
332332
elif role == "ik":
333333
ik_controls["ik_control"] = c.stripNamespace()
334-
elif role == "ik":
335-
ik_controls["ikRot"] = c.stripNamespace()
334+
elif role == "ikRot":
335+
ik_controls["ik_rot"] = c.stripNamespace()
336336

337337
fk_controls = sorted(fk_controls)
338338
return ik_controls, fk_controls

0 commit comments

Comments
 (0)