mirror of
https://github.com/kaosat-dev/Blender_bevy_components_workflow.git
synced 2024-12-22 23:54:10 +00:00
feat(Blenvy:Blender): minor UI tweaks
This commit is contained in:
parent
5aa666ef00
commit
4fcf842405
@ -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
|
||||
|
||||
|
@ -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):
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user