Skip to content

Commit

Permalink
fix: handle skip connection missing lods
Browse files Browse the repository at this point in the history
  • Loading branch information
akhileshh committed Jan 24, 2025
1 parent 660f01d commit b6c0d55
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/neuroglancer/datasource/graphene/backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@ function decodeMultiscaleManifestChunk(chunk: GrapheneMultiscaleManifestChunk, r
clipUpperBound: vec3.clone(response.clipUpperBound),
}
chunk.fragmentIds = response.fragments;
chunk.manifest.clipLowerBound.fill(0);
chunk.manifest.clipUpperBound.fill(100000);
chunk.manifest.octree[5*(response.fragments.length-1) + 4] &= 0x7FFFFFFF;
chunk.manifest.octree[5*(response.fragments.length-1) + 3] |= 0x80000000;
}

async function decodeMultiscaleFragmentChunk(
Expand Down

0 comments on commit b6c0d55

Please sign in to comment.