From 91f624b154eac201e9835d467ca375c28e0b9ed6 Mon Sep 17 00:00:00 2001 From: ycw Date: Sun, 12 May 2024 20:14:39 +0800 Subject: [PATCH] rename in comments --- editor/js/Editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/js/Editor.js b/editor/js/Editor.js index 2c0db6a605f442..4b171b255779cf 100644 --- a/editor/js/Editor.js +++ b/editor/js/Editor.js @@ -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();