diff options
author | Nivesh Rajbhandari | 2012-06-21 15:38:48 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-06-21 15:38:48 -0700 |
commit | bf6585a8f8a6abc203c210ba337e7ef260cb87d3 (patch) | |
tree | 362a4e36e7268eca5a22eceab4187091141d3b10 /js | |
parent | cf3b17036985243ecbcafdf55189530c797c78a7 (diff) | |
download | ninja-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-x | js/stage/layout.js | 3 |
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) { |