From: johanengelen Date: Sat, 2 Aug 2008 20:48:22 +0000 (+0000) Subject: lpe spiro: if path is closed it does not matter to what initial pointtype is initialized. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f5e01381df27a3dd9343e50b4e03bf92ca79edbc;p=inkscape.git lpe spiro: if path is closed it does not matter to what initial pointtype is initialized. --- diff --git a/src/live_effects/lpe-spiro.cpp b/src/live_effects/lpe-spiro.cpp index afa5dbc4d..657ffc10b 100644 --- a/src/live_effects/lpe-spiro.cpp +++ b/src/live_effects/lpe-spiro.cpp @@ -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++; }