From b0f06f3bb30d1911f618f02a928953754f855258 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Wed, 31 May 2006 22:27:23 +0000 Subject: [PATCH] prevent stroke becoming invisible at certain zooms and path disappearing after outset with complex paths, closes a bunch of bugs --- src/livarot/ShapeMisc.cpp | 2 -- src/livarot/ShapeSweep.cpp | 16 ---------------- 2 files changed, 18 deletions(-) diff --git a/src/livarot/ShapeMisc.cpp b/src/livarot/ShapeMisc.cpp index a76c0f745..79299ce49 100644 --- a/src/livarot/ShapeMisc.cpp +++ b/src/livarot/ShapeMisc.cpp @@ -35,8 +35,6 @@ Shape::ConvertToForme (Path * dest) { if (numberOfPoints() <= 1 || numberOfEdges() <= 1) return; - if (directedEulerian(this) == false) - return; // prepare dest->Reset (); diff --git a/src/livarot/ShapeSweep.cpp b/src/livarot/ShapeSweep.cpp index ea401f7f0..cc5f3f93f 100644 --- a/src/livarot/ShapeSweep.cpp +++ b/src/livarot/ShapeSweep.cpp @@ -820,22 +820,6 @@ Shape::ConvertToShape (Shape * a, FillRule directed, bool invert) delete sEvts; sEvts = NULL; - if ( directed == fill_justDont ) { - } else { - if (directedEulerian(this) == false) - { -// Validate(); - // printf( "pas euclidian2"); - MakePointData (false); - MakeEdgeData (false); - MakeSweepSrcData (false); - MakeSweepDestData (false); - a->CleanupSweep (); - _pts.clear(); - _aretes.clear(); - return shape_euler_err; - } - } MakePointData (false); MakeEdgeData (false); MakeSweepSrcData (false); -- 2.30.2