diff options
author | Valerio Virgillito | 2012-04-04 11:46:28 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-04-04 11:46:28 -0700 |
commit | 8482e23cd9b8c4700b5130f2588e5eb24d376536 (patch) | |
tree | c388fdc93e9707e7d66f51ef41eb1d9b366716c7 /js/helper-classes/3D | |
parent | 7a29db3fed59c1637479443f74b2850e56b38f20 (diff) | |
parent | f699c3b4a0b39263bc1113882c66fbe616b2a271 (diff) | |
download | ninja-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/helper-classes/3D')
-rwxr-xr-x | js/helper-classes/3D/snap-manager.js | 1 |
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 | ||