mirror of
https://github.com/kaosat-dev/Blender_bevy_components_workflow.git
synced 2024-11-22 20:00:53 +00:00
feat(blenvy): qol ui information
This commit is contained in:
parent
f6b61f83ae
commit
8abd806d5f
@ -98,7 +98,18 @@ class BLENVY_PT_SidePanel(bpy.types.Panel):
|
|||||||
draw_folder_browser(layout=row, label="Materials Folder", prop_origin=blenvy, target_property="materials_path")
|
draw_folder_browser(layout=row, label="Materials Folder", prop_origin=blenvy, target_property="materials_path")
|
||||||
|
|
||||||
panel.separator()
|
panel.separator()
|
||||||
|
|
||||||
|
|
||||||
# scenes selection
|
# scenes selection
|
||||||
|
if len(blenvy.main_scenes) == 0 and len(blenvy.library_scenes) == 0:
|
||||||
|
row = panel.row()
|
||||||
|
row.alert = True
|
||||||
|
panel.alert = True
|
||||||
|
row.label(text="NO library or main scenes specified! at least one main scene or library scene is required!")
|
||||||
|
row = panel.row()
|
||||||
|
row.label(text="Please select and add one using the UI below")
|
||||||
|
|
||||||
|
|
||||||
section = panel
|
section = panel
|
||||||
rows = 2
|
rows = 2
|
||||||
row = section.row()
|
row = section.row()
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
def draw_settings_ui(layout, auto_export_settings):
|
def draw_settings_ui(layout, auto_export_settings):
|
||||||
controls_enabled = auto_export_settings.auto_export
|
controls_enabled = auto_export_settings.auto_export
|
||||||
|
|
||||||
|
layout.label(text="Auto exports gltf files every time you save your project")
|
||||||
layout.prop(auto_export_settings, "auto_export")
|
layout.prop(auto_export_settings, "auto_export")
|
||||||
layout.separator()
|
layout.separator()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user