repo: janusweb
action: commit
revision: 
path_from: 
revision_from: 64cfda87e5ca11cbd072c04196932373bb2c2992:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit 64cfda87e5ca11cbd072c04196932373bb2c2992
Author: James Baicoianu 
Date:   Tue Mar 7 22:45:36 2017 -0800

    Fix incorrect call (room.start -> room.enable)

diff --git a/scripts/room.js b/scripts/room.js
index 82b5d4a8ea937608ed41eb7ed7b59fec8d260786..
index ..42fcb1db2fd3c776196b6b4a9a3411ec5e514b9a 100644
--- a/scripts/room.js
+++ b/scripts/room.js
@@ -153,6 +153,15 @@ elation.require([
           this.getAsset('image', skyboxname + '_back')
         ];
       }
+      if (this.cubemap_irradiance_id) {
+        var asset = this.getAsset('image', this.cubemap_irradiance_id);
+        console.log('irradiance', this.cubemap_irradiance_id, asset);
+      }
+      
+      if (this.cubemap_radiance_id) {
+        var asset = this.getAsset('image', this.cubemap_radiance_id);
+        console.log('radiance', this.cubemap_radiance_id, asset);
+      }

       var loaded = 0, errored = 0;
       var texures = [];
@@ -939,7 +948,7 @@ elation.require([
     this.onTouchStart = function(ev) { 
       if (!this.firsttouch) {
         this.firsttouch = true;
-        this.start();
+        this.enable();
       }
     }
     this.onThingChange = function(ev) {

-----END OF PAGE-----