summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2006-05-31 22:27:23 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2006-05-31 22:27:23 +0000
commit7e9014ea4c70210af432db8ef04e9d3d8b8b0835 (patch)
tree075ebc7cdb84f13d2c834b592cb12cc5166a5dcc /src
parentConvert from std::string to glib::ustring to fit into rest of inkscape (diff)
downloadinkscape-7e9014ea4c70210af432db8ef04e9d3d8b8b0835.tar.gz
inkscape-7e9014ea4c70210af432db8ef04e9d3d8b8b0835.zip
prevent stroke becoming invisible at certain zooms and path disappearing after outset with complex paths, closes a bunch of bugs
(bzr r1105)
Diffstat (limited to 'src')
-rw-r--r--src/livarot/ShapeMisc.cpp2
-rw-r--r--src/livarot/ShapeSweep.cpp16
2 files changed, 0 insertions, 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);