Skip to content
Merged
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
4 changes: 3 additions & 1 deletion src/visGeometry/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1906,6 +1906,8 @@ class VisGeometry {
}

public clearForNewTrajectory(): void {
// only gets called by the parent app by calling
// clearFile on the controller
this.legacyRenderer.beginUpdate(this.scene);
this.legacyRenderer.endUpdate(this.scene);
this.resetMapping();
Expand All @@ -1914,7 +1916,7 @@ class VisGeometry {
this.visAgentInstances.clear();
this.visAgents = [];
this.currentSceneData = nullCachedFrame();

this.availableAgentPool = [];
this.dehighlight();
}

Expand Down
Loading