diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2010-08-04 23:56:47 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2010-08-04 23:56:47 +0000 |
| commit | 498629f82d9453cb7222ab642b867c183fdf1666 (patch) | |
| tree | 33bb4b8bffc1f67c2167d393e928aee743fdce9d /src/star-context.cpp | |
| parent | Fix artifacts in Gaussian blur and other filters inadvertently (diff) | |
| download | inkscape-498629f82d9453cb7222ab642b867c183fdf1666.tar.gz inkscape-498629f82d9453cb7222ab642b867c183fdf1666.zip | |
Wholesale cruft removal part 3
(bzr r9508.1.47)
Diffstat (limited to 'src/star-context.cpp')
| -rw-r--r-- | src/star-context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/star-context.cpp b/src/star-context.cpp index 63a15545f..4e9e883ce 100644 --- a/src/star-context.cpp +++ b/src/star-context.cpp @@ -452,14 +452,14 @@ static void sp_star_drag(SPStarContext *sc, Geom::Point p, guint state) double const sides = (gdouble) sc->magnitude; Geom::Point const d = p1 - p0; Geom::Coord const r1 = Geom::L2(d); - double arg1 = atan2(from_2geom(d)); + double arg1 = atan2(d); if (state & GDK_CONTROL_MASK) { /* Snap angle */ arg1 = sp_round(arg1, M_PI / snaps); } - sp_star_position_set(star, sc->magnitude, from_2geom(p0), r1, r1 * sc->proportion, + sp_star_position_set(star, sc->magnitude, p0, r1, r1 * sc->proportion, arg1, arg1 + M_PI / sides, sc->isflatsided, sc->rounded, sc->randomized); /* status text */ |
