repo: janusweb action: commit revision: path_from: revision_from: 64cfda87e5ca11cbd072c04196932373bb2c2992: path_to: revision_to:
commit 64cfda87e5ca11cbd072c04196932373bb2c2992 Author: James BaicoianuDate: 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
--- 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-----