Skip to content

Commit

Permalink
Fix reset visualization functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
Stastez committed Jul 18, 2024
1 parent 9114e7b commit 1478d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GuiManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export class GuiManager {

protected addMainGui(): void {
this.mainGui.add({ reset: () => this.renderingManager.resetCamera() }, 'reset').name('Reset camera');
this.mainGui.add({ reset: () => window.location.replace('/') }, 'reset').name('Reset visualization');
this.mainGui.add({ reset: () => window.location.replace('/SoftwareMap/') }, 'reset').name('Reset visualization');
this.mainGui.add({ benchmark: () => this.renderingManager.benchmark() }, 'benchmark').name('Benchmark');
this.mainGui.add({ getBenchmarkResults: () => this.renderingManager.downloadBenchmarkResult() }, 'getBenchmarkResults').name('Download benchmark results');
this.mainGui.add(this.mappings, 'numberBenchmarkingFrames').name('Number of frames to render in benchmark').onChange(() => this.updateURL());
Expand Down

0 comments on commit 1478d7b

Please sign in to comment.