diff options
Diffstat (limited to 'js/lib/drawing')
-rwxr-xr-x | js/lib/drawing/world.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/lib/drawing/world.js b/js/lib/drawing/world.js index fb70d18c..26f33a64 100755 --- a/js/lib/drawing/world.js +++ b/js/lib/drawing/world.js | |||
@@ -647,6 +647,7 @@ World.prototype.clearTree = function() | |||
647 | 647 | ||
648 | if (this._useWebGL) | 648 | if (this._useWebGL) |
649 | { | 649 | { |
650 | this.stop(); | ||
650 | var root = this._rootNode; | 651 | var root = this._rootNode; |
651 | root.children = new Array(); | 652 | root.children = new Array(); |
652 | RDGE.globals.engine.unregisterCanvas( this._canvas.rdgeid ); | 653 | RDGE.globals.engine.unregisterCanvas( this._canvas.rdgeid ); |