No more errors with DB in sponza streaming

这个提交包含在:
Thomas FORGIONE 2015-09-29 15:18:23 +02:00
父节点 dfd9b8b3d9
当前提交 35a8055fc6
共有 2 个文件被更改,包括 4 次插入2 次删除

查看文件

@ -3,11 +3,13 @@ extends ./prototype_interactive
block title
title #{title} - Prototype - Arrows
block prepend js
script window.DB_DISABLED = true;
block mainjs
script locked = false;
script(src="/static/js/prototypeinteractive.min.js")
script initMainScene = L3D.initSponza
script L3D.BD.disable();
block configjs
script Recommendation = L3D.ArrowRecommendation;

查看文件

@ -41,7 +41,7 @@ L3D.DB.Private.sendData = function(url, data, force) {
* @memberof L3D.DB.Private
* @type {Boolean}
*/
L3D.DB.Private.enabled = true;
L3D.DB.Private.enabled = !window.DB_DISABLED;
/**
* Enables the requests