cgru
cgru copied to clipboard
Error! Not have method reverse for list
https://github.com/CGRU/cgru/blob/b75c1cb50dacbb9e0fbd20fb18c9b9ff0b2ce9f4/plugins/maya/afanasy/maya_ui_proc.py#L358
I suggest changing the line to:
labels = list(renderLayers.values())
list(reversed(labels))
Would you like to create a pull request for this.
Would you like to create a pull request for this.
Yes. This is my fix
Python list has method reverse() Maybe the error is somewhere else?
Maybe labes is not a list just after this: labels = renderLayers.values() Maybe there should be: labels = list(renderLayers.values())