conductor.clarisse.scripted_class.instances_ui module

conductor.clarisse.scripted_class.instances_ui.handle_instance_type(obj, attr)

When instance type changes, remember the string.

This is because the value is numeric, but the menu is built dynamically from the list of instance types. So by stashing the name we can try to repair it if the list changes order between sessions.

conductor.clarisse.scripted_class.instances_ui.update(obj, data_block)

Rebuild the entire menu.