diff options
Diffstat (limited to 'js/tools/BrushTool.js')
-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 c93672a9..90010cdf 100644 --- a/js/tools/BrushTool.js +++ b/js/tools/BrushTool.js | |||
@@ -266,6 +266,7 @@ exports.BrushTool = Montage.create(ShapeTool, { | |||
266 | var brushStroke = this._selectedBrushStroke; | 266 | var brushStroke = this._selectedBrushStroke; |
267 | if (brushStroke){ | 267 | if (brushStroke){ |
268 | brushStroke.setWorld(world); | 268 | brushStroke.setWorld(world); |
269 | brushStroke.setCanvas(newCanvas); | ||
269 | 270 | ||
270 | brushStroke.setPlaneMatrix(planeMat); | 271 | brushStroke.setPlaneMatrix(planeMat); |
271 | var planeMatInv = glmat4.inverse( planeMat, [] ); | 272 | var planeMatInv = glmat4.inverse( planeMat, [] ); |