diff options
author | Pushkar Joshi | 2012-04-19 11:58:20 -0700 |
---|---|---|
committer | Pushkar Joshi | 2012-04-19 11:58:20 -0700 |
commit | bc1bc57a7c8a32bf92bca8aa758b0ea0eeaffbc3 (patch) | |
tree | e8917a6e35bb9883bd192b6d5b97214aafc10a77 /js/lib/geom | |
parent | d703eeb01afa818a02538ec4efa66ac7350bac06 (diff) | |
download | ninja-bc1bc57a7c8a32bf92bca8aa758b0ea0eeaffbc3.tar.gz |
correctly maintain canvas position when drawing subpaths off the XY plane (was a bug with starting drawing in those planes)
Diffstat (limited to 'js/lib/geom')
-rwxr-xr-x | js/lib/geom/sub-path.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/geom/sub-path.js b/js/lib/geom/sub-path.js index 60335990..43420bc9 100755 --- a/js/lib/geom/sub-path.js +++ b/js/lib/geom/sub-path.js | |||
@@ -281,7 +281,7 @@ GLSubpath.prototype.setCanvasCenterLocalCoord = function(center){ | |||
281 | }; | 281 | }; |
282 | 282 | ||
283 | GLSubpath.prototype.getCanvasCenterLocalCoord = function(){ | 283 | GLSubpath.prototype.getCanvasCenterLocalCoord = function(){ |
284 | return this._canvasCenterLocalCoord; | 284 | return [this._canvasCenterLocalCoord[0],this._canvasCenterLocalCoord[1],this._canvasCenterLocalCoord[2]]; |
285 | }; | 285 | }; |
286 | 286 | ||
287 | GLSubpath.prototype.getNumAnchors = function () { | 287 | GLSubpath.prototype.getNumAnchors = function () { |