Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpivak Vladimir (cwolf3d) <cwolf3d@gmail.com>2019-09-13 18:32:25 +0300
committerSpivak Vladimir (cwolf3d) <cwolf3d@gmail.com>2019-09-13 18:32:25 +0300
commita95d8d5ecee68830007b62fbbd4c948b886a8e21 (patch)
tree333e9c4dc0a2939717c9adf27c5e0995f17fcb9a /mesh_bsurfaces.py
parent60e4580191805ace935fae06bf62ccd0037065b7 (diff)
Addon: BSurfaces: Fixed unregister panel error
Diffstat (limited to 'mesh_bsurfaces.py')
-rw-r--r--mesh_bsurfaces.py6
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)