Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/scene/gsplat-unified/gsplat-interval-compaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,15 @@ class GSplatIntervalCompaction {
}
}

/**
* Forces the next {@link uploadIntervals} call to re-upload interval metadata, even for the
* same world-state version. Used after a work-buffer rebuild, where boundsBaseIndex values may
* have shifted and the cached upload is stale.
*/
invalidateUpload() {
this._uploadedVersion = -1;
}

/**
* Builds and uploads interval metadata from the world state. Called once per
* world state change (not every frame).
Expand Down
Loading