mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 17:46:52 +02:00
comment-out debug requires, bump back to 60fps
This commit is contained in:
parent
1a9db003e5
commit
e25b567ff1
4 changed files with 11 additions and 9 deletions
|
@ -10,9 +10,11 @@
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// 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));
|
return Script.require(id + '?'+new Date().getTime().toString(36));
|
||||||
};
|
};*/
|
||||||
|
|
||||||
|
var require = Script.require;
|
||||||
|
|
||||||
var DopplegangerClass = require('./doppleganger.js'),
|
var DopplegangerClass = require('./doppleganger.js'),
|
||||||
DopplegangerAttachments = require('./doppleganger-attachments.js'),
|
DopplegangerAttachments = require('./doppleganger-attachments.js'),
|
||||||
|
|
|
@ -6,9 +6,9 @@ module.exports = DopplegangerAttachments;
|
||||||
|
|
||||||
DopplegangerAttachments.version = '0.0.0';
|
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));
|
return Script.require(id + '?'+new Date().getTime().toString(36));
|
||||||
};
|
};*/
|
||||||
|
|
||||||
var _modelHelper = require('./model-helper.js'),
|
var _modelHelper = require('./model-helper.js'),
|
||||||
modelHelper = _modelHelper.modelHelper,
|
modelHelper = _modelHelper.modelHelper,
|
||||||
|
|
|
@ -24,9 +24,9 @@
|
||||||
|
|
||||||
module.exports = Doppleganger;
|
module.exports = Doppleganger;
|
||||||
|
|
||||||
var require = function DEBUG_REQUIRE(id) {
|
/*var require = function DEBUG_REQUIRE(id) {
|
||||||
return Script.require(id + '?'+new Date().getTime().toString(36));
|
return Script.require(id + '?'+new Date().getTime().toString(36));
|
||||||
};
|
};*/
|
||||||
|
|
||||||
var _modelHelper = require('./model-helper.js'),
|
var _modelHelper = require('./model-helper.js'),
|
||||||
modelHelper = _modelHelper.modelHelper,
|
modelHelper = _modelHelper.modelHelper,
|
||||||
|
@ -36,7 +36,7 @@ var _modelHelper = require('./model-helper.js'),
|
||||||
Doppleganger.USE_SCRIPT_UPDATE = false;
|
Doppleganger.USE_SCRIPT_UPDATE = false;
|
||||||
|
|
||||||
// @property {int} - the frame rate to target when using setInterval for joint updates
|
// @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
|
// @property {int} - the maximum time in seconds to wait for the model overlay to finish loading
|
||||||
Doppleganger.MAX_WAIT_SECS = 10;
|
Doppleganger.MAX_WAIT_SECS = 10;
|
||||||
|
|
|
@ -18,9 +18,9 @@ function log() {
|
||||||
print('model-helper | ' + [].slice.call(arguments).join(' '));
|
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));
|
return Script.require(id + '?'+new Date().getTime().toString(36));
|
||||||
};
|
};*/
|
||||||
|
|
||||||
var utils = require('./utils.js'),
|
var utils = require('./utils.js'),
|
||||||
assert = utils.assert;
|
assert = utils.assert;
|
||||||
|
|
Loading…
Reference in a new issue