Scene Manager: Load Publish and numbered instances

Load Publish (Loaded panel) searches every asset of the project, then
loads any of its published .blend files at any version, cast in the shot
or not. The file the casting would load and the latest version on this
site are preselected; a version not on this site is requested instead.
Built on the existing wtd_list_assets / wtd_get_asset_files /
wtd_get_revisions commands.

New instances are numbered (COL_bob_01, tree_01...), counting on from the
highest number in the file (SCENE_MANAGER_INSTANCE_NAME).

README: Pick Shot only lists shots that exist in Libreflow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
NDemaerschalkandClaude Opus 5.5 committed 2026-10-28 10:47:05 +01:00
1 parent 6ec2b228ae
commit fbc7ac18e4
9 files changed
+307 -32

No files matched your search

+3
View File
@@ -306,6 +306,9 @@ SCENE_MANAGER_LOD_COLLECTION = "COL_{asset}_LOD{lod}"
# Order of the LOD names; the first one the file has is shown when an asset is loaded.
# LODs not listed come after them: numbers in order (0, 1, 2...), then names A-Z.
SCENE_MANAGER_LODS = ["high", "mid", "low"]
# Name of each new instance: {name} is the asset collection (override) or the asset
# (collection instance), {number} counts on from the highest number in the file.
SCENE_MANAGER_INSTANCE_NAME = "{name}_{number:02d}"
# Collection gathering the loaded assets of a type, under the scene collection.
SCENE_MANAGER_TYPE_COLLECTION = "COL_{asset_type}"
# Default task of the assetize dialog.