Code

prevent stroke becoming invisible at certain zooms and path disappearing after outset...
authorbuliabyak <buliabyak@users.sourceforge.net>
Wed, 31 May 2006 22:27:23 +0000 (22:27 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Wed, 31 May 2006 22:27:23 +0000 (22:27 +0000)
src/livarot/ShapeMisc.cpp
src/livarot/ShapeSweep.cpp

index a76c0f74517e811184b4cb2fdf40cb79ddd85b54..79299ce493e882b88918c864b21e5c27b0145b24 100644 (file)
@@ -35,8 +35,6 @@ Shape::ConvertToForme (Path * dest)
 {
   if (numberOfPoints() <= 1 || numberOfEdges() <= 1)
     return;
-  if (directedEulerian(this) == false)
-    return;
   
   // prepare
   dest->Reset ();
index ea401f7f05d3940b7942be699458abb1fb3bb14f..cc5f3f93feb14275fe9f4db7c6bbf14f3983eba6 100644 (file)
@@ -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);