repo: janusweb action: commit revision: path_from: revision_from: 01deb3bd6adcd415e47fed15491c6fe20ab98f91: path_to: revision_to:
commit 01deb3bd6adcd415e47fed15491c6fe20ab98f91 Author: James BaicoianuDate: Fri Nov 19 23:16:11 2021 -0800 Minor performance tweaks diff --git a/scripts/room.js b/scripts/room.js
--- a/scripts/room.js
+++ b/scripts/room.js
@@ -1781,17 +1781,17 @@ console.log('connect room audio to graph', this.audionodes.gain, this.audionodes
if (this.applyingEdits) return;
let thing = ev.target,
- js_id = thing.js_id;
+ js_id = thing.properties.js_id;
if (!js_id) return;
let proxy = this.jsobjects[js_id];
if (proxy) {
- if (proxy.sync) {
+ if (thing.properties.sync) {
if (!this.appliedchanges[js_id]) {
this.changes[js_id] = proxy;
}
- proxy.sync = proxy.autosync;
+ thing.properties.sync = proxy.autosync;
}
}
}
-----END OF PAGE-----