diff options
author | hwc487 | 2012-04-26 12:50:57 -0700 |
---|---|---|
committer | hwc487 | 2012-04-26 12:50:57 -0700 |
commit | 4b83774cdbfbf30add9a8fa2f11b1c4ff35179fa (patch) | |
tree | c8bdc04b07d9b1193ae8a553cf8d570d19a852ca /js/lib/drawing | |
parent | 34e6aa5a76fb49c3d9251cedf128c6ed971abb5c (diff) | |
download | ninja-4b83774cdbfbf30add9a8fa2f11b1c4ff35179fa.tar.gz |
canvas interaction
Diffstat (limited to 'js/lib/drawing')
-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 7ee9ee00..7ce23921 100755 --- a/js/lib/drawing/world.js +++ b/js/lib/drawing/world.js | |||
@@ -758,7 +758,7 @@ World.prototype.exportJSON = function () { | |||
758 | // would not be destructive of the data. You would be wrong... | 758 | // would not be destructive of the data. You would be wrong... |
759 | // We need to rebuild everything | 759 | // We need to rebuild everything |
760 | if (this._useWebGL) { | 760 | if (this._useWebGL) { |
761 | if (worldObj.children && (worldObj.children.length === 1)) { | 761 | if (worldObj.children && (worldObj.children.length >= 1)) { |
762 | this.rebuildTree(this._geomRoot); | 762 | this.rebuildTree(this._geomRoot); |
763 | this.restartRenderLoop(); | 763 | this.restartRenderLoop(); |
764 | } | 764 | } |