diff options
author | Pushkar Joshi | 2012-04-26 10:51:19 -0700 |
---|---|---|
committer | Pushkar Joshi | 2012-04-26 10:51:19 -0700 |
commit | d2ff4810064dd902519310fc61e2144ee025ab16 (patch) | |
tree | e83f2dd1538b7af4f73c59ba8ab64e0599c7eca0 | |
parent | 83f4213a9858c3969ca2d91a9769242a7115f831 (diff) | |
download | ninja-d2ff4810064dd902519310fc61e2144ee025ab16.tar.gz |
track the dragging plane based on the hit record so that the file IO works again (bug fix)
-rw-r--r-- | js/tools/BrushTool.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/tools/BrushTool.js b/js/tools/BrushTool.js index ab54d6bb..4e13bd43 100644 --- a/js/tools/BrushTool.js +++ b/js/tools/BrushTool.js | |||
@@ -100,6 +100,7 @@ exports.BrushTool = Montage.create(ShapeTool, { | |||
100 | } | 100 | } |
101 | var tmpPoint = webkitConvertPointFromPageToNode(this.application.ninja.stage.canvas, new WebKitPoint(x,y)); | 101 | var tmpPoint = webkitConvertPointFromPageToNode(this.application.ninja.stage.canvas, new WebKitPoint(x,y)); |
102 | var hitRec = snapManager.snap(tmpPoint.x, tmpPoint.y, false); | 102 | var hitRec = snapManager.snap(tmpPoint.x, tmpPoint.y, false); |
103 | this._draggingPlane = snapManager.getDragPlane(); | ||
103 | if (this._selectedSubpathCanvas){ | 104 | if (this._selectedSubpathCanvas){ |
104 | snapManager.popWorkingPlane(); | 105 | snapManager.popWorkingPlane(); |
105 | } | 106 | } |