comment-out debug requires, bump back to 60fps

This commit is contained in:
humbletim 2017-06-19 16:09:20 -04:00
parent 1a9db003e5
commit e25b567ff1
4 changed files with 11 additions and 9 deletions

View file

@ -10,9 +10,11 @@
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
var require = function DEBUG_REQUIRE(id) {
/*var require = function DEBUG_REQUIRE(id) {
return Script.require(id + '?'+new Date().getTime().toString(36));
};
};*/
var require = Script.require;
var DopplegangerClass = require('./doppleganger.js'),
DopplegangerAttachments = require('./doppleganger-attachments.js'),

View file

@ -6,9 +6,9 @@ module.exports = DopplegangerAttachments;
DopplegangerAttachments.version = '0.0.0';
var require = function DEBUG_REQUIRE(id) {
/*var require = function DEBUG_REQUIRE(id) {
return Script.require(id + '?'+new Date().getTime().toString(36));
};
};*/
var _modelHelper = require('./model-helper.js'),
modelHelper = _modelHelper.modelHelper,

View file

@ -24,9 +24,9 @@
module.exports = Doppleganger;
var require = function DEBUG_REQUIRE(id) {
/*var require = function DEBUG_REQUIRE(id) {
return Script.require(id + '?'+new Date().getTime().toString(36));
};
};*/
var _modelHelper = require('./model-helper.js'),
modelHelper = _modelHelper.modelHelper,
@ -36,7 +36,7 @@ var _modelHelper = require('./model-helper.js'),
Doppleganger.USE_SCRIPT_UPDATE = false;
// @property {int} - the frame rate to target when using setInterval for joint updates
Doppleganger.TARGET_FPS = 24;/// 60;
Doppleganger.TARGET_FPS = 60;
// @property {int} - the maximum time in seconds to wait for the model overlay to finish loading
Doppleganger.MAX_WAIT_SECS = 10;

View file

@ -18,9 +18,9 @@ function log() {
print('model-helper | ' + [].slice.call(arguments).join(' '));
}
var require = function DEBUG_REQUIRE(id) {
/*var require = function DEBUG_REQUIRE(id) {
return Script.require(id + '?'+new Date().getTime().toString(36));
};
};*/
var utils = require('./utils.js'),
assert = utils.assert;