[Bf-extensions-cvs] [1b08472] master: Cacharanth: unreported fix for reg, unreg, reg fail
meta-androcto
noreply at git.blender.org
Fri May 20 10:52:09 CEST 2016
Commit: 1b084728906ab5d42df769cd436e4d76b9fc783f
Author: meta-androcto
Date: Fri May 20 18:51:35 2016 +1000
Branches: master
https://developer.blender.org/rBAC1b084728906ab5d42df769cd436e4d76b9fc783f
Cacharanth: unreported fix for reg,unreg, reg fail
===================================================================
M cacharanth/ui.py
===================================================================
diff --git a/cacharanth/ui.py b/cacharanth/ui.py
index 276fa75..aa097bc 100644
--- a/cacharanth/ui.py
+++ b/cacharanth/ui.py
@@ -202,7 +202,6 @@ class VIEW3D_PT_MeshcacheToolsPanel(Panel):
row.label(text="{0} Imported".format(str(howmany_imported)))
row.label(text="{0} Excluded".format(str(howmany_imported_excluded)))
-
classes = (
VIEW3D_PT_MeshcacheToolsPanel,
MESH_OP_MeshcacheRefresh,
@@ -212,6 +211,7 @@ classes = (
MeshcacheExcludeNames,
MeshcacheFolderSetButton,
CACHARANTH_GroupSelect,
+ Cacharanth_Pref
)
def register():
@@ -245,9 +245,5 @@ def register():
Scene.meshcache_exclude_names_active_index = IntProperty()
def unregister():
- bpy.utils.unregister_class(CACHARANTH_GroupSelect)
- bpy.utils.unregister_class(MeshcacheFolderSetButton)
- bpy.utils.unregister_class(MESH_UL_MeshcacheExcludeName)
- bpy.utils.unregister_class(MESH_OT_MeshcacheExcludeNameAdd)
- bpy.utils.unregister_class(MESH_OT_MeshcacheExcludeNameRemove)
- bpy.utils.unregister_class(VIEW3D_PT_MeshcacheToolsPanel)
+ for cls in classes:
+ bpy.utils.unregister_class(cls)
More information about the Bf-extensions-cvs
mailing list