mirror of https://github.com/GNOME/gimp.git
Initialize spline.linearity before use.
2007-05-30 Mukund Sivaraman <muks@mukund.org> * plug-ins/sel2path/fit.c: Initialize spline.linearity before use. svn path=/trunk/; revision=22663
This commit is contained in:
parent
f136f00756
commit
23ff5cc24f
|
@ -1,3 +1,7 @@
|
|||
2007-05-30 Mukund Sivaraman <muks@mukund.org>
|
||||
|
||||
* plug-ins/sel2path/fit.c: Initialize spline.linearity before use.
|
||||
|
||||
2007-05-30 Mukund Sivaraman <muks@mukund.org>
|
||||
|
||||
* plug-ins/sel2path/spline.c: Initialize spline.linearity before use.
|
||||
|
|
|
@ -1321,6 +1321,7 @@ fit_one_spline (curve_type curve)
|
|||
|
||||
START_POINT (spline) = CURVE_POINT (curve, 0);
|
||||
END_POINT (spline) = LAST_CURVE_POINT (curve);
|
||||
SPLINE_LINEARITY (spline) = 0;
|
||||
start_vector = make_vector (START_POINT (spline));
|
||||
end_vector = make_vector (END_POINT (spline));
|
||||
|
||||
|
|
Loading…
Reference in New Issue