generated from stilobique/BlenderTemplate
Refactoring, split the panel
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import bpy
|
||||
|
||||
|
||||
class GRAOU_PT_asset(bpy.types.Panel):
|
||||
bl_idname = 'GRAOU_PT_asset'
|
||||
bl_space_type = 'VIEW_3D'
|
||||
bl_region_type = 'UI'
|
||||
bl_label = 'Generate Assets'
|
||||
bl_category = 'Graou Studio'
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
|
||||
layout.label(text='Asset:')
|
||||
@@ -15,11 +15,11 @@ import bpy
|
||||
# pcoll.load(name.upper(), entry.path, "IMAGE")
|
||||
|
||||
|
||||
class GRAOU_PT_panel(bpy.types.Panel):
|
||||
class GRAOU_PT_export(bpy.types.Panel):
|
||||
bl_idname = 'GRAOU_PT_MAIN'
|
||||
bl_space_type = 'VIEW_3D'
|
||||
bl_region_type = 'UI'
|
||||
bl_label = 'Pipeline'
|
||||
bl_label = 'Export'
|
||||
bl_category = 'Graou Studio'
|
||||
|
||||
def draw(self, context):
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
import bpy
|
||||
|
||||
|
||||
class GRAOU_PT_thumbnail(bpy.types.Panel):
|
||||
bl_idname = 'GRAOU_PT_thumbnail'
|
||||
bl_space_type = 'VIEW_3D'
|
||||
bl_region_type = 'UI'
|
||||
bl_label = 'Thumbnail'
|
||||
bl_category = 'Graou Studio'
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
|
||||
layout.label(text='Thumbnail:')
|
||||
@@ -0,0 +1,14 @@
|
||||
import bpy
|
||||
|
||||
|
||||
class GRAOU_PT_setup(bpy.types.Panel):
|
||||
bl_idname = 'GRAOU_PT_setup'
|
||||
bl_space_type = 'VIEW_3D'
|
||||
bl_region_type = 'UI'
|
||||
bl_label = 'Setup Pipeline'
|
||||
bl_category = 'Graou Studio'
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
|
||||
layout.label(text='Main Config:')
|
||||
Reference in New Issue
Block a user