summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2009-08-24 19:56:23 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2009-08-24 19:56:23 +0000
commit9ffb0ad4544d606b7ff3a04fc8e0b5f11ef7befe (patch)
treee5cea3900d86f358fc92e1232b6a38415a63899e
parentupdated POT and POs (diff)
downloadinkscape-9ffb0ad4544d606b7ff3a04fc8e0b5f11ef7befe.tar.gz
inkscape-9ffb0ad4544d606b7ff3a04fc8e0b5f11ef7befe.zip
patch from 417179 by Alvin
(bzr r8530)
-rw-r--r--src/live_effects/spiro.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}