diff options
Diffstat (limited to 'js/lib')
-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 8068284e..c8c5b95a 100755 --- a/js/lib/drawing/world.js +++ b/js/lib/drawing/world.js | |||
@@ -623,6 +623,7 @@ World.prototype.clearTree = function() | |||
623 | 623 | ||
624 | if (this._useWebGL) | 624 | if (this._useWebGL) |
625 | { | 625 | { |
626 | this.stop(); | ||
626 | var root = this._rootNode; | 627 | var root = this._rootNode; |
627 | root.children = new Array(); | 628 | root.children = new Array(); |
628 | RDGE.globals.engine.unregisterCanvas( this._canvas.rdgeid ); | 629 | RDGE.globals.engine.unregisterCanvas( this._canvas.rdgeid ); |