aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
authorPushkar Joshi2012-04-19 11:58:20 -0700
committerPushkar Joshi2012-04-19 11:58:20 -0700
commitbc1bc57a7c8a32bf92bca8aa758b0ea0eeaffbc3 (patch)
treee8917a6e35bb9883bd192b6d5b97214aafc10a77 /js/lib
parentd703eeb01afa818a02538ec4efa66ac7350bac06 (diff)
downloadninja-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')
-rwxr-xr-xjs/lib/geom/sub-path.js2
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
283GLSubpath.prototype.getCanvasCenterLocalCoord = function(){ 283GLSubpath.prototype.getCanvasCenterLocalCoord = function(){
284 return this._canvasCenterLocalCoord; 284 return [this._canvasCenterLocalCoord[0],this._canvasCenterLocalCoord[1],this._canvasCenterLocalCoord[2]];
285}; 285};
286 286
287GLSubpath.prototype.getNumAnchors = function () { 287GLSubpath.prototype.getNumAnchors = function () {