From: buliabyak Date: Mon, 24 Aug 2009 19:56:23 +0000 (+0000) Subject: patch from 417179 by Alvin X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=aad949af70dafcfd55a6b5f4031915223455e738;p=inkscape.git patch from 417179 by Alvin --- diff --git a/src/live_effects/spiro.cpp b/src/live_effects/spiro.cpp index c734f91ee..4aad25f08 100644 --- a/src/live_effects/spiro.cpp +++ b/src/live_effects/spiro.cpp @@ -773,6 +773,7 @@ spiro_iter(spiro_seg *s, bandmat *m, int *perm, double *v, int n) s[i].ks[k] += dk; norm += dk * dk; } + s[i].ks[0] = 2.0*mod_2pi(s[i].ks[0]/2.0); } return norm; }