aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorValerio Virgillito2012-04-04 11:46:28 -0700
committerValerio Virgillito2012-04-04 11:46:28 -0700
commit8482e23cd9b8c4700b5130f2588e5eb24d376536 (patch)
treec388fdc93e9707e7d66f51ef41eb1d9b366716c7 /js
parent7a29db3fed59c1637479443f74b2850e56b38f20 (diff)
parentf699c3b4a0b39263bc1113882c66fbe616b2a271 (diff)
downloadninja-8482e23cd9b8c4700b5130f2588e5eb24d376536.tar.gz
Merge pull request #154 from mqg734/ToolFixes
Need to set elementModel.isIn2DSnapCache flag to false when removing element from SnapManager's cache.
Diffstat (limited to 'js')
-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