diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-11 06:40:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-11 06:40:27 +0300 |
commit | 0dad04903bdb39ff845a7452415a248d99f60ffa (patch) | |
tree | f4890434f42f9acf59f4cffb3c1cf770aab00ace /development_icon_get.py | |
parent | 6420f4bf6ef0f700e8bc07be4cb52424e49f9197 (diff) |
all modules now register and unregister without errors.
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__) |