Include SOG converter bootstrap chunk in cold project packages

This commit is contained in:
DCCONSTRUCTIONS
2026-10-10 07:40:45 +03:00
parent 670e8047b3
commit fe495fa302
2 changed files with 28 additions and 2 deletions
+5 -1
View File
@@ -25,9 +25,13 @@ def digest(path):
def project_members(package, lod):
required = {package["visual_path"], package["collision_path"]}
# SplatTransform 3.4 opens the multi-LOD source before applying selectLod.
# Its layout comes from the first LOD-0 chunk, including that chunk's
# textures. A cold package must contain this bootstrap dependency even
# when output uses another LOD; it does not add LOD-0 splats to the output.
return [item for item in package["artifacts"] if (
item["logical_path"] in required or
item["logical_path"].startswith((f"streamed/{lod}_", "streamed/env/")))]
item["logical_path"].startswith((f"streamed/{lod}_", "streamed/0_0/", "streamed/env/")))]
def prepare_project(client, run, state, episode, job, pulse, isaac, *, lod=0):