diff options
Diffstat (limited to 'development_icon_get.py')
-rw-r--r-- | development_icon_get.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/development_icon_get.py b/development_icon_get.py index 6f052b05..f5267e25 100644 --- a/development_icon_get.py +++ b/development_icon_get.py @@ -248,8 +248,8 @@ def unregister(): pass if __name__ == "__main__": # unregistering is only done automatically when run as add-on - bpy.types.unregister(OBJECT_PT_icons) - bpy.types.unregister(CONSOLE_HT_icons) + bpy.utils.unregister_class(OBJECT_PT_icons) + bpy.utils.unregister_class(CONSOLE_HT_icons) bpy.utils.unregister_module(__name__) |