aboutsummaryrefslogtreecommitdiff
path: root/js/tools/BrushTool.js
diff options
context:
space:
mode:
authorPushkar Joshi2012-03-15 14:33:48 -0700
committerPushkar Joshi2012-03-15 14:33:48 -0700
commite574f722864a246bad40d3f5a4e59f7ccb206ea9 (patch)
treebaad38aa8440b7e929005acc058ca07bcc21bf5a /js/tools/BrushTool.js
parent571ed9ef856780eded3ac7104ed0ce72c7c7c81c (diff)
downloadninja-e574f722864a246bad40d3f5a4e59f7ccb206ea9.tar.gz
update values in the PI from values of the selected brush stroke or pen tool path
Diffstat (limited to 'js/tools/BrushTool.js')
-rw-r--r--js/tools/BrushTool.js1
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, [] );