Skip to content

Commit

Permalink
Remove debugging console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
tephenavies committed Oct 25, 2023
1 parent 9151a00 commit 223970c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/ViewModels/TerriaViewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ export default class TerriaViewer {
newViewer = untracked(() => new NoViewer(this));
}

console.log(`Creating a viewer: ${newViewer.type}`);
this._lastViewer = newViewer;
newViewer.zoomTo(currentView || untracked(() => this.homeCamera), 0.0);

Expand Down Expand Up @@ -248,7 +247,6 @@ export default class TerriaViewer {
let currentView: CameraView | undefined;
if (this._lastViewer !== undefined) {
this.beforeViewerChanged.raiseEvent();
console.log(`Destroying viewer: ${this._lastViewer.type}`);
currentView = this._lastViewer.getCurrentCameraView();
this._lastViewer.destroy();
this._lastViewer = undefined;
Expand Down

0 comments on commit 223970c

Please sign in to comment.