Include SOG converter bootstrap chunk in cold project packages
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user