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(
|
export_materials_library: BoolProperty(
|
||||||
name='Export materials library',
|
name='Export materials library',
|
||||||
description='remove materials from blueprints and use the material library instead',
|
description='remove materials from blueprints and use the material library instead',
|
||||||
default=False,
|
default=True,
|
||||||
update=save_settings
|
update=save_settings
|
||||||
) # type: ignore
|
) # type: ignore
|
||||||
|
|
||||||
|
|
|
@ -130,8 +130,8 @@ class BlenvyManager(PropertyGroup):
|
||||||
auto_export: PointerProperty(type=auto_export_settings.AutoExportSettings) # type: ignore
|
auto_export: PointerProperty(type=auto_export_settings.AutoExportSettings) # type: ignore
|
||||||
components: PointerProperty(type=component_settings.ComponentsSettings) # 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
|
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
|
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
|
@property
|
||||||
def level_scenes(self):
|
def level_scenes(self):
|
||||||
|
|
|
@ -129,7 +129,7 @@ def draw_common_settings_ui(layout, settings):
|
||||||
layout.alert = True
|
layout.alert = True
|
||||||
row.label(text="NO library or level scenes specified! at least one level scene or library scene is required!")
|
row.label(text="NO library or level scenes specified! at least one level scene or library scene is required!")
|
||||||
row = layout.row()
|
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
|
section = layout
|
||||||
rows = 2
|
rows = 2
|
||||||
|
|
Loading…
Reference in New Issue