Skip to content

Commit

Permalink
Merge pull request #12923 from TileDB-Inc/nb/octree
Browse files Browse the repository at this point in the history
Enforce parent blocks being empty in octree
  • Loading branch information
sebavan authored Aug 31, 2022
2 parents 5918525 + fabe9a1 commit 8ecf377
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/dev/core/src/Culling/Octrees/octreeBlock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ export class OctreeBlock<T> {
*/
public createInnerBlocks(): void {
OctreeBlock._CreateBlocks(this._minPoint, this._maxPoint, this.entries, this._capacity, this._depth, this._maxDepth, this, this._creationFunc);
this.entries.splice(0);
}

/**
Expand Down

0 comments on commit 8ecf377

Please sign in to comment.