From 844e5e84d92dcb805bc3ca5e44560d3d24485dbe Mon Sep 17 00:00:00 2001 From: Flip Phillips Date: Fri, 31 Mar 2023 17:16:46 -0400 Subject: [PATCH] fixed improper registration on unload --- __init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__init__.py b/__init__.py index 683f65a..0ed5072 100644 --- a/__init__.py +++ b/__init__.py @@ -236,8 +236,8 @@ def unregister(): bpy.utils.unregister_class(GPT4_OT_Execute) bpy.utils.unregister_class(GPT4_PT_Panel) bpy.utils.unregister_class(GPT4_OT_ClearChat) - bpy.utils.register_class(GPT4_OT_ShowCode) - bpy.utils.register_class(GPT4_OT_DeleteMessage) + bpy.utils.unregister_class(GPT4_OT_ShowCode) + bpy.utils.unegister_class(GPT4_OT_DeleteMessage) bpy.types.VIEW3D_MT_mesh_add.remove(menu_func) clear_props()