Scene Manager: named LODs

{lod} in SCENE_MANAGER_LOD_COLLECTION now matches any name (COL_bob_LODhigh
as well as COL_bob_LOD0). SCENE_MANAGER_LODS (high, mid, low) sets the
button order and the LOD shown on load; unlisted LODs follow, numbers in
order, then names A-Z. It replaces SCENE_MANAGER_DEFAULT_LOD. The LOD of
Selected buttons get their own line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
NDemaerschalkandClaude Opus 5.5 committed 2026-10-27 16:46:36 +01:00
1 parent bac7a6f5da
commit 6ec2b228ae
8 files changed
+80 -61

No files matched your search

+2 -2
View File
@@ -13,7 +13,7 @@ import time
import bpy
from bpy.app.handlers import persistent
from bpy.props import BoolProperty, EnumProperty, IntProperty, PointerProperty, StringProperty
from bpy.props import BoolProperty, EnumProperty, PointerProperty, StringProperty
from .. import config
from . import ipc
@@ -737,7 +737,7 @@ class WTD_OT_scene_set_lod(bpy.types.Operator):
bl_description = "Show this level of detail (one of the asset's LOD collections)"
bl_options = {"REGISTER", "UNDO"}
lod: IntProperty(name="LOD", min=0)
lod: StringProperty(name="LOD", description="LOD name (the {lod} part of the LOD collection name)")
library: StringProperty(options={"SKIP_SAVE"})
instance: StringProperty(description="Only this instance (object or collection name)", options={"SKIP_SAVE"})
selected: BoolProperty(description="The instances of the selected objects", options={"SKIP_SAVE"})