limweb / degrafa

Automatically exported from code.google.com/p/degrafa
1 stars 0 forks source link

AdvancedCubicBezier constructor does not store cx1 and cy1 #86

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
AdvancedCubicBezier constructor does not store values for the second control 
point - cx1 and cy1. On line 113 there should be
this.cx1 = cx1;
this.cy1 = cy1;

What is the expected output? What do you see instead?
var b:AdvancedCubicBezier = new AdvancedCubicBezier(0,0, 0.1,0, 0.9, 1, 1,1);
trace(b.cx1); // Outputs NaN instead of 0.1
trace(b.cy1); // Outputs NaN instead of 0.9

Original issue reported on code.google.com by simsons....@gmail.com on 24 Feb 2010 at 3:26

GoogleCodeExporter commented 9 years ago

Original comment by Flexible...@gmail.com on 18 May 2010 at 7:54

GoogleCodeExporter commented 9 years ago
This is fixed in the origin branch will do a merge to trunk soon.

Original comment by Flexible...@gmail.com on 18 May 2010 at 7:55