repo: janusweb action: commit revision: path_from: revision_from: fea89d3101ea6977031bbdc58ce89cdfd9f2e8fb: path_to: revision_to:
commit fea89d3101ea6977031bbdc58ce89cdfd9f2e8fb Author: James BaicoianuDate: Fri Nov 19 22:15:56 2021 -0800 Minor optimization diff --git a/scripts/janusxrplayer.js b/scripts/janusxrplayer.js
--- a/scripts/janusxrplayer.js
+++ b/scripts/janusxrplayer.js
@@ -573,7 +573,7 @@ elation.require(['engine.things.generic', 'janusweb.external.webxr-input-profile
this.laser.updateLine();
this.cursor.pos.copy(endpoint);
//this.cursor.zdir = normal;
- if (this.cursor.room !== room) room.appendChild(this.cursor);
+ if (this.cursor.room !== room._target) room.appendChild(this.cursor);
//this.cursor.zdir.copy(player.view_dir).multiplyScalar(-1);
//this.cursor.zdir = normal;
this.cursor.visible = true;
-----END OF PAGE-----