less copy protection, more size visualization
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

32 行
557 B

  1. import mv.ops
  2. import bpy
  3. class MVPanel(bpy.types.Panel):
  4. bl_idname="OBJECT_PT_MV_menu"
  5. bl_label="Macrovision"
  6. bl_space_type="VIEW_3D"
  7. bl_region_type="UI"
  8. bl_category = "Macrovision"
  9. @classmethod
  10. def poll(cls, context):
  11. return True
  12. def draw(self, context):
  13. layout = self.layout
  14. box = layout.box()
  15. box.label(text="Setup")
  16. box.operator("mv.config_collection")
  17. box = layout.box()
  18. box.label(text="Execute")
  19. box.operator("mv.export")
  20. clses = [
  21. MVPanel
  22. ]