Skip to content

Commit f8c971c

Browse files
committed
fix: don't mark chunks with fragments as empty
1 parent e88a40b commit f8c971c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pychunkedgraph/meshing/manifest/multiscale.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def build_octree(
289289

290290
if len(octree_fragments[int(current_chunk)]) == 0:
291291
virtual_chunk_hierarchy[current_chunk] = children_chunks[0]
292-
if children_chunks.size == 0:
292+
if children_chunks.size == 0 and len(octree_fragments[int(current_chunk)]) == 0:
293293
octree[offset + 4] |= 1 << 31
294294

295295
_validate_octree(octree, octree_chunks)

0 commit comments

Comments
 (0)