#14 Bezier(ArrayList points, int steps) constructor

closed-fixed
Pikablu
None
5
2010-11-07
2010-11-06
No

Bezier(ArrayList points, int steps) constructor of SdlDotNet.Graphics.Primitives.Bezier class has a bug in version 6.1.0.0.
A line in this constructor:
Code:
this.n = 0;

should be as follows:
Code:
this.n = points.Count;

Otherwise this constructor always throws an exception since number of points is always zero. Tested, works.

Discussion

  • Pikablu

    Pikablu - 2010-11-07

    Fixed

     
  • Pikablu

    Pikablu - 2010-11-07
    • assigned_to: nobody --> pikablu
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks