diff options
author | Spivak Vladimir (cwolf3d) <cwolf3d@gmail.com> | 2019-09-13 18:32:25 +0300 |
---|---|---|
committer | Spivak Vladimir (cwolf3d) <cwolf3d@gmail.com> | 2019-09-13 18:32:25 +0300 |
commit | a95d8d5ecee68830007b62fbbd4c948b886a8e21 (patch) | |
tree | 333e9c4dc0a2939717c9adf27c5e0995f17fcb9a | |
parent | 60e4580191805ace935fae06bf62ccd0037065b7 (diff) |
Addon: BSurfaces: Fixed unregister panel error
-rw-r--r-- | mesh_bsurfaces.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mesh_bsurfaces.py b/mesh_bsurfaces.py index 90caee2c..7a76dba2 100644 --- a/mesh_bsurfaces.py +++ b/mesh_bsurfaces.py @@ -4226,11 +4226,17 @@ classes = ( def register(): for cls in classes: bpy.utils.register_class(cls) + + for panel in panels: + bpy.utils.register_class(panel) bpy.types.Scene.bsurfaces = PointerProperty(type=BsurfacesProps) update_panel(None, bpy.context) def unregister(): + for panel in panels: + bpy.utils.unregister_class(panel) + for cls in classes: bpy.utils.unregister_class(cls) |