mgear-dev / shifter

Modular Rigging System
MIT License
8 stars 10 forks source link

Duplicate Symmetry error #117

Closed liudger closed 3 years ago

liudger commented 3 years ago

mirror control_01 gives error

Checking guide
Get options
Get controllers
Get components
pupil_L0 (control_01)
Find recursive in  [ 0:00:00.047936 ]
Get parenting for: pupil_L0
Guide loaded from hierarchy in  [ 0:00:00.049241 ]
# Traceback (most recent call last):
#   File "/Users/liudger/Library/Preferences/Autodesk/maya/modules/scripts/mgear/shifter/guide_manager.py", line 48, in duplicate
#     guide.duplicate(root, sym)
#   File "/Users/liudger/Library/Preferences/Autodesk/maya/modules/scripts/mgear/shifter/guide.py", line 906, in duplicate
#     if not comp_guide.symmetrize():
#   File "/Users/liudger/Library/Preferences/Autodesk/maya/modules/scripts/mgear/shifter/component/guide.py", line 495, in symmetrize
#     if paramDef.valueType == "string":
# AttributeError: 'colorParamDef' object has no attribute 'valueType'

I'll try to track it down

liudger commented 3 years ago

Could be related to the latest RGB support commit?

miquelcampos commented 3 years ago

yes, it is related to that. But I think Is already fixed https://github.com/mgear-dev/mgear4/commit/f0e1bbb3b063788b91e3967bb2e6e0872e892eea