diff options
author | Nivesh Rajbhandari | 2012-06-20 11:47:51 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-06-20 11:47:51 -0700 |
commit | b67defe4bc893da8cbed4003e0a4319c0ed2ed67 (patch) | |
tree | 5362da7edf36e1932954ae011b9b77f3364eba0a /js/tools/SelectionTool.js | |
parent | 22e664cdbb4bdf54cde87c0c3223e321e18ea372 (diff) | |
parent | 52833c3d8a485944c42acc6ac0ae5139b3427da8 (diff) | |
download | ninja-b67defe4bc893da8cbed4003e0a4319c0ed2ed67.tar.gz |
Merge branch 'refs/heads/ninja-internal' into IKNinja_1671
Diffstat (limited to 'js/tools/SelectionTool.js')
-rwxr-xr-x | js/tools/SelectionTool.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/js/tools/SelectionTool.js b/js/tools/SelectionTool.js index 8c3a9a25..a0d5bc26 100755 --- a/js/tools/SelectionTool.js +++ b/js/tools/SelectionTool.js | |||
@@ -598,11 +598,8 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, { | |||
598 | this.mouseUpHitRec = DrawingToolBase.getUpdatedSnapPoint(point.x, point.y, do3DSnap, this.mouseDownHitRec); | 598 | this.mouseUpHitRec = DrawingToolBase.getUpdatedSnapPoint(point.x, point.y, do3DSnap, this.mouseDownHitRec); |
599 | if (this._mouseDownHitRec && this._mouseUpHitRec) | 599 | if (this._mouseDownHitRec && this._mouseUpHitRec) |
600 | { | 600 | { |
601 | data = this.getDrawingData(event); | 601 | this.modifyElements({pt0:this._mouseDownHitRec.calculateElementScreenPoint(), |
602 | if(data) | 602 | pt1:this._mouseUpHitRec.calculateElementScreenPoint()}, event); |
603 | { | ||
604 | this.modifyElements({pt0:data.mouseDownPos, pt1:data.mouseUpPos}, event); | ||
605 | } | ||
606 | } | 603 | } |
607 | } | 604 | } |
608 | } | 605 | } |