mgear-dev / mgear4

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

RBF manager failing to update the UI #124

Closed liorbenhorin closed 2 years ago

liorbenhorin commented 2 years ago

when selecting an existing setup, the UI is not propagating, and this is the traceback

# Warning: Python callback failed # 
# Error: (kInvalidParameter): No element at given index
# Traceback (most recent call last):
#   File "/Applications/Autodesk/maya2022/Maya.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7/site-packages/pymel/core/__init__.py", line 213, in _pluginLoaded
#     api.MEventMessage.removeCallback(_pluginData[pluginName]['callbackId'])
# RuntimeError: (kInvalidParameter): No element at given index # 
Recording poses in world space set to: True
Default poses are zeroed: True
# Traceback (most recent call last):
#   File "/Users/liorbenhorin/dev/mgear4/release/scripts/mgear/rigbits/rbf_manager_ui.py", line 1202, in displayRBFSetupInfo
#     self.recreateDrivenTabs(self.allSetupsInfo[rbfSelection])
#   File "/Users/liorbenhorin/dev/mgear4/release/scripts/mgear/rigbits/rbf_manager_ui.py", line 1163, in recreateDrivenTabs
#     rbfNodes = sorted(rbfNodes)
# TypeError: '<' not supported between instances of 'RBFNode' and 'RBFNode'

image