Code

lpe spiro: if path is closed it does not matter to what initial pointtype is initialized.
authorjohanengelen <johanengelen@users.sourceforge.net>
Sat, 2 Aug 2008 20:48:22 +0000 (20:48 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Sat, 2 Aug 2008 20:48:22 +0000 (20:48 +0000)
src/live_effects/lpe-spiro.cpp

index afa5dbc4d3f89d3ee469ff99f8c45d194a2bc6d3..657ffc10b4c57dc29555873a93db85dced725b04 100644 (file)
@@ -126,7 +126,7 @@ LPESpiro::doEffect(SPCurve * curve)
             Geom::Point p = path_it->front().pointAt(0);
             path[ip].x = p[X];
             path[ip].y = p[Y];
-            path[ip].ty = path_it->closed() ? 'c' : '{' ;  // for closed paths, this might change depending on whether the closing is smooth or not
+            path[ip].ty = '{' ;  // for closed paths, this is overwritten
             ip++;
         }