Skip to content

Commit

Permalink
Anim_util: Comment out FK_control sorted by name. in some situations …
Browse files Browse the repository at this point in the history
…with custom names it that is not index, it will fail

for example instead of FK0, FK1 and FK2 if we called thigh, tibia and ankle this sorting will break the matching.
Relaying on the uiHost connection index should be the correct way #445
  • Loading branch information
miquelcampos committed Feb 7, 2025
1 parent 85f1df3 commit d42a2b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release/scripts/mgear/core/anim_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def get_ik_fk_controls_by_role(uiHost, attr_ctl_cnx):
elif role == "roll":
ik_controls["roll"] = c.stripNamespace()

fk_controls = sorted(fk_controls)
# fk_controls = sorted(fk_controls)
return ik_controls, fk_controls


Expand Down

0 comments on commit d42a2b3

Please sign in to comment.