mgear-dev / mgear4

mGear v.4.x.x (python 3 ready) https://mgear4.readthedocs.io
MIT License
259 stars 91 forks source link

Game Tools Export: Set index is incorrect, re-connect fails #231

Closed cdardis closed 10 months ago

cdardis commented 1 year ago

The set index referenced in game_tools.py can be invalid if a Custom Controllers Group is specified by the user in shifter

    # check the folder and script
    # if the target name exist abort and request another name

    deformer_jnts = rigTopNode.rigGroups[3].connections()[0].members()

image

In the above example, with a Custom Controller group - rigTopNode.rigGroup[i] , i != 3, i=4

miquelcampos commented 1 year ago

@cdardis thanks for te feedback! I have added the ticket to the project to do list