|
- import mv.ops
-
- import bpy
-
- class MVPanel(bpy.types.Panel):
- bl_idname="OBJECT_PT_MV_menu"
- bl_label="Macrovision"
- bl_space_type="VIEW_3D"
- bl_region_type="UI"
- bl_category = "Macrovision"
-
- @classmethod
- def poll(cls, context):
- return True
-
- def draw(self, context):
- layout = self.layout
-
- box = layout.box()
- box.label(text="Setup")
-
- box.operator("mv.config_collection")
-
- box = layout.box()
- box.label(text="Execute")
-
- box.operator("mv.export")
-
- clses = [
- MVPanel
- ]
|