repo: janusweb
action: commit
revision: 
path_from: 
revision_from: f6a87d5a6634287c095d233f09285beeed4b23f6:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit f6a87d5a6634287c095d233f09285beeed4b23f6
Author: James Baicoianu 
Date:   Wed Feb 7 22:42:12 2018 -0800

    Set cursor_object ongazeenter

diff --git a/scripts/janusplayer.js b/scripts/janusplayer.js
index 36cfd2fcbd4a4ba6a59fb4a952c9b41dc5dff1dd..
index ..cce818fe9f430eceaf38d0acb24f91537216e506 100644
--- 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-----