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:
Diffstat (limited to 'object_print3d_utils/ui.py')
-rw-r--r--object_print3d_utils/ui.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/object_print3d_utils/ui.py b/object_print3d_utils/ui.py
index 2ca771e6..353060fe 100644
--- a/object_print3d_utils/ui.py
+++ b/object_print3d_utils/ui.py
@@ -26,7 +26,7 @@ import bmesh
from . import report
-class Setup:
+class View3DPrintPanel:
bl_category = "3D-Print"
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
@@ -37,7 +37,7 @@ class Setup:
return obj is not None and obj.type == 'MESH' and obj.mode in {'OBJECT', 'EDIT'}
-class VIEW3D_PT_print3d_analyze(Panel, Setup):
+class VIEW3D_PT_print3d_analyze(View3DPrintPanel, Panel):
bl_label = "Analyze"
_type_to_icon = {
@@ -100,7 +100,7 @@ class VIEW3D_PT_print3d_analyze(Panel, Setup):
self.draw_report(context)
-class VIEW3D_PT_print3d_cleanup(Panel, Setup):
+class VIEW3D_PT_print3d_cleanup(View3DPrintPanel, Panel):
bl_label = "Clean Up"
bl_options = {"DEFAULT_CLOSED"}
@@ -117,7 +117,7 @@ class VIEW3D_PT_print3d_cleanup(Panel, Setup):
# layout.operator("mesh.print3d_clean_thin", text="Wall Thickness")
-class VIEW3D_PT_print3d_transform(Panel, Setup):
+class VIEW3D_PT_print3d_transform(View3DPrintPanel, Panel):
bl_label = "Transform"
bl_options = {"DEFAULT_CLOSED"}
@@ -130,7 +130,7 @@ class VIEW3D_PT_print3d_transform(Panel, Setup):
row.operator("mesh.print3d_scale_to_bounds", text="Bounds")
-class VIEW3D_PT_print3d_export(Panel, Setup):
+class VIEW3D_PT_print3d_export(View3DPrintPanel, Panel):
bl_label = "Export"
bl_options = {"DEFAULT_CLOSED"}