repo: janusweb action: commit revision: path_from: revision_from: f6a87d5a6634287c095d233f09285beeed4b23f6: path_to: revision_to:
commit f6a87d5a6634287c095d233f09285beeed4b23f6 Author: James BaicoianuDate: Wed Feb 7 22:42:12 2018 -0800 Set cursor_object ongazeenter diff --git a/scripts/janusplayer.js b/scripts/janusplayer.js
--- a/scripts/janusplayer.js
+++ b/scripts/janusplayer.js
@@ -701,6 +701,7 @@ elation.require(['engine.things.player', 'janusweb.external.JanusVOIP', 'ui.butt
var obj = ev.data.object;
if (obj && obj.dispatchEvent) {
obj.dispatchEvent({type: 'gazeenter', data: ev.data.intersection});
+ this.cursor_object = obj;
if (this.gaze) {
this.cancelGaze();
-----END OF PAGE-----