diff options
Diffstat (limited to 'js/helper-classes/RDGE/GLWorld.js')
-rw-r--r-- | js/helper-classes/RDGE/GLWorld.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/js/helper-classes/RDGE/GLWorld.js b/js/helper-classes/RDGE/GLWorld.js index dd9b6977..b84bb585 100644 --- a/js/helper-classes/RDGE/GLWorld.js +++ b/js/helper-classes/RDGE/GLWorld.js | |||
@@ -248,9 +248,17 @@ function GLWorld( canvas, use3D ) | |||
248 | if (!this.hasAnimatedMaterials()) | 248 | if (!this.hasAnimatedMaterials()) |
249 | { | 249 | { |
250 | this.myScene.render(); | 250 | this.myScene.render(); |
251 | this._canvas.task.stop(); | 251 | //this._canvas.task.stop(); |
252 | this._renderCount = 3; | ||
252 | } | 253 | } |
253 | } | 254 | } |
255 | else if (this._renderCount >= 0) | ||
256 | { | ||
257 | this._renderCount--; | ||
258 | if (this._renderCount == 0) | ||
259 | this._canvas.task.stop(); | ||
260 | } | ||
261 | |||
254 | } | 262 | } |
255 | } | 263 | } |
256 | else | 264 | else |