aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-06-21 15:38:48 -0700
committerNivesh Rajbhandari2012-06-21 15:38:48 -0700
commitbf6585a8f8a6abc203c210ba337e7ef260cb87d3 (patch)
tree362a4e36e7268eca5a22eceab4187091141d3b10 /js
parentcf3b17036985243ecbcafdf55189530c797c78a7 (diff)
downloadninja-bf6585a8f8a6abc203c210ba337e7ef260cb87d3.tar.gz
IKNINJA-1720 - Object in a document erases 3D grid in other document when switching with document tabs.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js')
-rwxr-xr-xjs/stage/layout.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/stage/layout.js b/js/stage/layout.js
index 28484b71..99c3a403 100755
--- a/js/stage/layout.js
+++ b/js/stage/layout.js
@@ -46,6 +46,9 @@ exports.Layout = Montage.create(Component, {
46 return; 46 return;
47 } 47 }
48 48
49 drawUtils._eltArray.length = 0;
50 drawUtils._planesArray.length = 0;
51
49 this._currentDocument = value; 52 this._currentDocument = value;
50 53
51 if(!value) { 54 if(!value) {