aboutsummaryrefslogtreecommitdiff
path: root/js/lib/drawing
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-03-24 13:57:23 -0700
committerNivesh Rajbhandari2012-03-24 13:57:23 -0700
commita806c422905adf0fa5c244d751535c615ec5d8c7 (patch)
treedf04e1800aa99a2b5ea62eb76c03ef32277e01ba /js/lib/drawing
parent5e8faa47e1b2507a09d04fea4325006e5eab2f25 (diff)
downloadninja-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/lib/drawing')
-rwxr-xr-xjs/lib/drawing/world.js2
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 }