def unregister(): try: bitwrkclient.stop_bitwrk_client() except: pass bpy.utils.unregister_class(settings_panel.StopWorkerOperator) bpy.utils.unregister_class(settings_panel.StartWorkerOperator) bpy.utils.unregister_class(settings_panel.StopBitwrkClientOperator) bpy.utils.unregister_class(settings_panel.StartBitwrkClientOperator) bpy.utils.unregister_class(settings_panel.StartBrowserOperator) bpy.utils.unregister_class(settings.BitWrkSettings) bpy.utils.unregister_class(settings_panel.RENDER_PT_bitwrk_settings) bpy.utils.unregister_class(render.BitWrkRenderEngine)
def execute(self, context): bitwrkclient.stop_bitwrk_client() return {'FINISHED'}