diff options
author | Pushkar Joshi | 2012-03-20 10:24:15 -0700 |
---|---|---|
committer | Pushkar Joshi | 2012-03-20 10:24:15 -0700 |
commit | 92bc54df4acfec849568ab619150a5da49c087fa (patch) | |
tree | 0ecf92f98a29c10045b1e8e2e764793868cfcdef /js/tools/BrushTool.js | |
parent | c0bd8d8efcc501d4efa116a7cc0e802fd4e9f3e9 (diff) | |
download | ninja-92bc54df4acfec849568ab619150a5da49c087fa.tar.gz |
revert to using the angle without flipping its sign...fixing some minor bugs and code cleanup
GOOD status before doing 3D unprojection step
Diffstat (limited to 'js/tools/BrushTool.js')
-rw-r--r-- | js/tools/BrushTool.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/BrushTool.js b/js/tools/BrushTool.js index 93020318..a135c1e5 100644 --- a/js/tools/BrushTool.js +++ b/js/tools/BrushTool.js | |||
@@ -108,7 +108,7 @@ exports.BrushTool = Montage.create(ShapeTool, { | |||
108 | if (this.options.strokeAngle){ | 108 | if (this.options.strokeAngle){ |
109 | strokeAngle= this.options.strokeAngle.value; | 109 | strokeAngle= this.options.strokeAngle.value; |
110 | } | 110 | } |
111 | this._selectedBrushStroke.setStrokeAngle(Math.PI * -strokeAngle/180); | 111 | this._selectedBrushStroke.setStrokeAngle(Math.PI * strokeAngle/180); |
112 | } else { | 112 | } else { |
113 | this._selectedBrushStroke.setStrokeUseCalligraphic(false); | 113 | this._selectedBrushStroke.setStrokeUseCalligraphic(false); |
114 | } | 114 | } |