Skip to content

Update mocap_tools.py : compatible with a wider definition and avoid breaking if skeleton not found. #517

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RemiCuxac
Copy link

This fix will help the mocap tool to build the control rig for a wider range of skeletons, and avoid breaking if some bones aren't found.

Description of Changes

I added more bones inside the description in case the skeleton has more bones in the spine or the neck
and add a if statement in case those added bones aren't found in the current skeleton.

Testing Done

Worked for me !

Related Issue(s)

Initially, the mocap tool doesn't care if there is a Spine3 bone, and breaks if Neck1 isn't found (for exemple).

This fix will help the mocap tool to build the control rig for a wider range of skeletons, and avoid breaking if some bones aren't found.
@RemiCuxac RemiCuxac changed the title Update mocap_tools.py Update mocap_tools.py : compatible with a wider definition and avoid breaking if skeleton not found. May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant