From 6f43ae733b2ef168e1de01fc5f272387ed460178 Mon Sep 17 00:00:00 2001 From: Aurelien Vaillant Date: Thu, 9 May 2024 01:39:02 +0200 Subject: [PATCH] Update the UI --- Fange Pipeline/ui.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Fange Pipeline/ui.py b/Fange Pipeline/ui.py index a3d3d56..d9876bd 100644 --- a/Fange Pipeline/ui.py +++ b/Fange Pipeline/ui.py @@ -14,12 +14,17 @@ class GRAOU_PT_panel(bpy.types.Panel): layout.use_property_split = True layout.use_property_decorate = False - layout.label(text='Scene Setup', icon='WORLD_DATA') - layout.operator('graou.build_scene') + row = layout.row(align=False) + row.label(text='Main Config:') + layout.operator('graou.build_scene', text='Init Scene', icon='OUTLINER') - layout.label(text='Collision', icon='WORLD_DATA') - layout.operator('graou.make_collision') + row = layout.row(align=False) + row.label(text='Asset:') + layout.operator('graou.make_collision', text='Make all collision', icon='MOD_PHYSICS') layout.label(text='Building', icon='WORLD_DATA') layout.operator('graou.building_export') + row = layout.row(align=False) + row.label(text='Export scene:') + layout.operator('graou.building_export', text='Export all assets', icon='EXPORT')