summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2019-05-10 12:09:02 +0000
committerJabiertxof <jabier.arraiza@marker.es>2019-05-10 12:09:02 +0000
commit82187954f2b30dc767c96683f690a0a5f18d8ab0 (patch)
tree1bff008a486a3998756c94759a21fbc92f9b0db7
parentCSS tweak to LPE add dialog to work on dark themes (diff)
downloadinkscape-82187954f2b30dc767c96683f690a0a5f18d8ab0.tar.gz
inkscape-82187954f2b30dc767c96683f690a0a5f18d8ab0.zip
Fix for inbox issue 467
-rw-r--r--src/helper/geom-satellite.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/helper/geom-satellite.cpp b/src/helper/geom-satellite.cpp
index 8049c861d..0d8ca832c 100644
--- a/src/helper/geom-satellite.cpp
+++ b/src/helper/geom-satellite.cpp
@@ -100,7 +100,11 @@ double Satellite::radToLen(
Geom::Piecewise<Geom::D2<Geom::SBasis> > offset_curve1 =
Geom::Piecewise<Geom::D2<Geom::SBasis> >(d2_out) +
rot90(unitVector(derivative(d2_out))) * (A);
+ offset_curve0[0][0].normalize();
+ offset_curve0[0][1].normalize();
Geom::Path p0 = path_from_piecewise(offset_curve0, 0.1)[0];
+ offset_curve1[0][0].normalize();
+ offset_curve1[0][1].normalize();
Geom::Path p1 = path_from_piecewise(offset_curve1, 0.1)[0];
Geom::Crossings cs = Geom::crossings(p0, p1);
if (cs.size() > 0) {