aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-04-04 11:31:26 -0700
committerNivesh Rajbhandari2012-04-04 11:31:26 -0700
commitf699c3b4a0b39263bc1113882c66fbe616b2a271 (patch)
treeeeb5440bb5ec3e608311b93b78ed6b2cd7a0b290
parenta11ef2eed7049835c8bdfa50a2b893632c46eaa0 (diff)
downloadninja-f699c3b4a0b39263bc1113882c66fbe616b2a271.tar.gz
Need to set elementModel.isIn2DSnapCache flag to false when removing element from SnapManager's cache.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
-rwxr-xr-xjs/helper-classes/3D/snap-manager.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/helper-classes/3D/snap-manager.js b/js/helper-classes/3D/snap-manager.js
index 67dedc49..9f6b9ed1 100755
--- a/js/helper-classes/3D/snap-manager.js
+++ b/js/helper-classes/3D/snap-manager.js
@@ -499,6 +499,7 @@ var SnapManager = exports.SnapManager = Montage.create(Component, {
499 var n = this._elementCache.length; 499 var n = this._elementCache.length;
500 this._elementCache[index] = this._elementCache[n-1]; 500 this._elementCache[index] = this._elementCache[n-1];
501 this._elementCache.pop(); 501 this._elementCache.pop();
502 target.elementModel.isIn2DSnapCache = false;
502 found = true; 503 found = true;
503 } 504 }
504 505