munkybutt / SkinPlusPlus

Python bindings for manipulating skin data in various DCCs
MIT License
30 stars 5 forks source link

[BUG] Maya Add Missing Bones Fails #12

Closed munkybutt closed 1 year ago

munkybutt commented 1 year ago

The plugs being connected when adding new influences need to be appended to the next free index rather than assuming the source index +1 is free.

munkybutt commented 1 year ago

Use MPlug.numElements() to get the correct index to connect to

munkybutt commented 1 year ago

Added work around fix here: https://github.com/munkybutt/SkinPlusPlus/commit/a512555fea6d67b77a30f228bcd98edeabaf4d2b