diff options
author | Nivesh Rajbhandari | 2012-03-24 13:57:23 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-03-24 13:57:23 -0700 |
commit | a806c422905adf0fa5c244d751535c615ec5d8c7 (patch) | |
tree | df04e1800aa99a2b5ea62eb76c03ef32277e01ba /js | |
parent | 5e8faa47e1b2507a09d04fea4325006e5eab2f25 (diff) | |
download | ninja-a806c422905adf0fa5c244d751535c615ec5d8c7.tar.gz |
Check for a authortime animation setting in the draw routine for WebGL.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js')
-rwxr-xr-x | js/lib/drawing/world.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/drawing/world.js b/js/lib/drawing/world.js index fd833e4b..781695b6 100755 --- a/js/lib/drawing/world.js +++ b/js/lib/drawing/world.js | |||
@@ -238,7 +238,7 @@ var World = function GLWorld( canvas, use3D, preserveDrawingBuffer ) { | |||
238 | if (this._canvas.task) { | 238 | if (this._canvas.task) { |
239 | this._firstRender = false; | 239 | this._firstRender = false; |
240 | 240 | ||
241 | if (!this.hasAnimatedMaterials() || !this._previewAnimation) { | 241 | if (!this.hasAnimatedMaterials() || !this._previewAnimation) { |
242 | this._canvas.task.stop(); | 242 | this._canvas.task.stop(); |
243 | //this._renderCount = 10; | 243 | //this._renderCount = 10; |
244 | } | 244 | } |