From 4b83774cdbfbf30add9a8fa2f11b1c4ff35179fa Mon Sep 17 00:00:00 2001 From: hwc487 Date: Thu, 26 Apr 2012 12:50:57 -0700 Subject: canvas interaction --- js/lib/drawing/world.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/lib/drawing') 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 () { // would not be destructive of the data. You would be wrong... // We need to rebuild everything if (this._useWebGL) { - if (worldObj.children && (worldObj.children.length === 1)) { + if (worldObj.children && (worldObj.children.length >= 1)) { this.rebuildTree(this._geomRoot); this.restartRenderLoop(); } -- cgit v1.2.3