feat(Blenvy:Blender): minor UI tweaks

This commit is contained in:
kaosat.dev 2024-07-19 14:20:01 +02:00
parent 5aa666ef00
commit 4fcf842405
3 changed files with 5 additions and 5 deletions

View File

@ -75,7 +75,7 @@ class AutoExportSettings(PropertyGroup):
export_materials_library: BoolProperty(
name='Export materials library',
description='remove materials from blueprints and use the material library instead',
default=False,
default=True,
update=save_settings
) # type: ignore

View File

@ -130,8 +130,8 @@ class BlenvyManager(PropertyGroup):
auto_export: PointerProperty(type=auto_export_settings.AutoExportSettings) # type: ignore
components: PointerProperty(type=component_settings.ComponentsSettings) # type: ignore
level_scene_selector: PointerProperty(type=bpy.types.Scene, name="level scene", description="level_scene_picker", poll=is_scene_already_in_use, update=save_settings)# type: ignore
library_scene_selector: PointerProperty(type=bpy.types.Scene, name="library scene", description="library_scene_picker", poll=is_scene_already_in_use, update=save_settings)# type: ignore
level_scene_selector: PointerProperty(type=bpy.types.Scene, name="level scene", description="level scene picker", poll=is_scene_already_in_use, update=save_settings)# type: ignore
library_scene_selector: PointerProperty(type=bpy.types.Scene, name="library scene", description="library scene picker", poll=is_scene_already_in_use, update=save_settings)# type: ignore
@property
def level_scenes(self):

View File

@ -98,7 +98,7 @@ class BLENVY_PT_SidePanel(bpy.types.Panel):
header.label(text="Components")
if panel:
components_ui.draw_settings_ui(panel, blenvy.components)
if config_mode == 'EXPORT':
header, panel = layout.panel("auto_export", default_closed=False)
header.label(text="Auto Export")
@ -129,7 +129,7 @@ def draw_common_settings_ui(layout, settings):
layout.alert = True
row.label(text="NO library or level scenes specified! at least one level scene or library scene is required!")
row = layout.row()
row.label(text="Please select and add one using the UI below")
row.label(text="Please select and add at least one:")
section = layout
rows = 2