Longer Operator Names
When writing an addon that makes use of operators, the length of an operator is limited to 60 characters. When trying to register a longer one such as
Move_Selected_Collection_Property_Elements__Operator
you get the error
RuntimeError: Error: Registering operator class: 'Move_Selected_Elements_Collection_Property_Element__Operator', invalid bl_idname 'object.move_selected_elements_collection_property_element__oper', is too long, maximum length is 60
Since operator names need to be unique, not just per addon, but for every single addon that the user has activated at the same time, long, and descriptive names are almost required. 60 characters is just far too low.
I would suggest bumping it up to 255 characters, or making the length completely dynamic and unrestricted.
0 Comments