Skip to content

Commit

Permalink
rename in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ycw committed May 12, 2024
1 parent 1d3b95b commit 91f624b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editor/js/Editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -666,9 +666,9 @@ Editor.prototype = {
this.camera.copy( camera );
this.camera.uuid = incomingUuid;

// remove entry [oldUuid, this.camera]
// remove entry [existingUuid, this.camera]
delete this.cameras[ existingUuid ];
// add entry [newUuid, this.camera]
// add entry [incomingUuid, this.camera]
this.cameras[ incomingUuid ] = this.camera;

this.signals.cameraResetted.dispatch();
Expand Down

0 comments on commit 91f624b

Please sign in to comment.