Closed bkmeneguello closed 1 year ago
The unregister method is properly implemented.
def unregister():
for tool in (SLCAD_transform, SLCAD_transform_edit_mesh, SLCAD_transform_edit_curve):
unregister_tool(tool)
unregister_class(SLCAD_PT_tools_options_object)
unregister_class(SLCAD_PT_tools_options_mesh)
unregister_class(SLCAD_PT_tools_options_curve)
# unregister_class(SLCAD_OT_transform)
unregister_class(SLCAD_OT_translate)
unregister_class(SLCAD_OT_rotate)
unregister_class(SLCAD_OT_scale)
unregister_class(SLCAD_AddonPreferences)
unregister_class(SLCAD_keymap)
print("%s %s successfully disabled" % (bl_info['name'], __version__))
global icon_man
icon_man.cleanup()
When running a script (
bpy.ops.export_scene.gltf
) I got this error:Blender docs say the
unregister
module method is required.