Code

make rotations, scales and flips work with the object's rotation axis
[inkscape.git] / src / livarot / ShapeMisc.cpp
index d9bb665f056a18704f6be0c1ae3ed54516963706..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 ();
@@ -541,8 +539,11 @@ Shape::MakeOffset (Shape * a, double dec, JoinType join, double miter)
     if (numberOfPoints() > maxPt)
     {
       maxPt = numberOfPoints();
-      if (_has_points_data)
+      if (_has_points_data) {
         pData.resize(maxPt);
+        _point_data_initialised = false;
+        _bbox_up_to_date = false;
+        }
     }
     
     _aretes = a->_aretes;