aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes
diff options
context:
space:
mode:
authorPushkar Joshi2012-04-02 15:25:00 -0700
committerPushkar Joshi2012-04-02 15:25:00 -0700
commit878743cbbb75f2fc84855ca27779597b67ab1a95 (patch)
tree3744a6bc9ee21fde57dd3b3a1d348d070c5a74c0 /js/helper-classes
parentdefde265799bb8d6826bb368f04168612e7feb5a (diff)
downloadninja-878743cbbb75f2fc84855ca27779597b67ab1a95.tar.gz
render the pen path with local coordinates, but use stage world coordinates to position the canvas on which the path is rendered
AND add data-montage- to the ids in the pen and brush reels AND fix a bug with pen stroke transparency not working
Diffstat (limited to 'js/helper-classes')
-rwxr-xr-xjs/helper-classes/3D/view-utils.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/js/helper-classes/3D/view-utils.js b/js/helper-classes/3D/view-utils.js
index a72b7906..f60b953a 100755
--- a/js/helper-classes/3D/view-utils.js
+++ b/js/helper-classes/3D/view-utils.js
@@ -242,7 +242,6 @@ exports.ViewUtils = Montage.create(Component, {
242 var worldPt = MathUtils.transformPoint( viewPt, mat ); 242 var worldPt = MathUtils.transformPoint( viewPt, mat );
243 var stageWorldPt = this.postViewToStageWorld( worldPt, elt ); 243 var stageWorldPt = this.postViewToStageWorld( worldPt, elt );
244 this.popViewportObj(); 244 this.popViewportObj();
245
246 return stageWorldPt; 245 return stageWorldPt;
247 } 246 }
248 }, 247 },