From 2165b91022d3585720db881cf97bc971eb7fcce8 Mon Sep 17 00:00:00 2001 From: Pushkar Joshi Date: Tue, 17 Apr 2012 16:17:36 -0700 Subject: took out bad merge line and use different function for converting points from local to global coords (the latter should be a temporary change as I will significantly change this) --- js/tools/PenTool.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'js/tools') diff --git a/js/tools/PenTool.js b/js/tools/PenTool.js index aba25ca9..7bc0364e 100755 --- a/js/tools/PenTool.js +++ b/js/tools/PenTool.js @@ -743,7 +743,7 @@ exports.PenTool = Montage.create(ShapeTool, { //this transformation will take the path points from local space to stage world space // *without* taking into account the transformation applied to this canvas // (this is because we use the center of the bbox to find a place for the canvas) - var localToStageWorldMat = ViewUtils.getLocalToStageWorldMatrix(this._selectedSubpathCanvas, true, false); + var localToStageWorldMat = ViewUtils.getObjToStageWorldMatrix(this._selectedSubpathCanvas, false);//ViewUtils.getLocalToStageWorldMatrix(this._selectedSubpathCanvas, true, false); for (i=0;i