diff options
author | hwc487 | 2012-07-23 14:37:51 -0700 |
---|---|---|
committer | hwc487 | 2012-07-23 14:37:51 -0700 |
commit | e9d08c7af751d75af16371fcac06fd1af8a60fac (patch) | |
tree | e0499f795bf5a5f3db30b61e70a5852ff0799aed /js/tools/modifier-tool-base.js | |
parent | 2b05717e49bafc4b401441d9a55153b9e4ae7e43 (diff) | |
download | ninja-e9d08c7af751d75af16371fcac06fd1af8a60fac.tar.gz |
Bugs fixed:
1915 - Data.JSON too large. Reduced mesh size and limited precision of fp numbers
1381 - Background transparency in preview.
1740 - File Save As caused WebGL to stop animating. Crossed RDGE IDs
1954 - Texture change from material popup broke screen rendering. Set correct context on property change.
Diffstat (limited to 'js/tools/modifier-tool-base.js')
-rwxr-xr-x | js/tools/modifier-tool-base.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/tools/modifier-tool-base.js b/js/tools/modifier-tool-base.js index c772e36c..d12ba7d2 100755 --- a/js/tools/modifier-tool-base.js +++ b/js/tools/modifier-tool-base.js | |||
@@ -569,7 +569,11 @@ exports.ModifierToolBase = Montage.create(DrawingTool, { | |||
569 | var alignArray = new Array(); | 569 | var alignArray = new Array(); |
570 | snapManager.snapAlignToElementBounds( this._clickedObject, delta, alignArray ); | 570 | snapManager.snapAlignToElementBounds( this._clickedObject, delta, alignArray ); |
571 | if (alignArray.length > 0) | 571 | if (alignArray.length > 0) |
572 | { | ||
573 | alignArray.push( hitRec ); | ||
574 | snapManager.sortHitRecords( alignArray ); | ||
572 | hitRec = alignArray[0]; | 575 | hitRec = alignArray[0]; |
576 | } | ||
573 | } | 577 | } |
574 | } | 578 | } |
575 | 579 | ||