Code

fix conversion from pathvector to livarot path. (a.o. caused crash of nodetool when...
authorjohanengelen <johanengelen@users.sourceforge.net>
Mon, 14 Jul 2008 21:43:10 +0000 (21:43 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Mon, 14 Jul 2008 21:43:10 +0000 (21:43 +0000)
src/livarot/PathCutting.cpp

index 99a8713b3feab5847c60f56eeaabbf1f9cd7b561..da5ca4145e7a0547312135c5c2e7f236b4fc478c 100644 (file)
@@ -428,7 +428,7 @@ void  Path::LoadPath(Geom::Path const &path, Geom::Matrix const &tr, bool doTran
 
     MoveTo( from_2geom(pathtr.initialPoint()) );
 
-    for(Geom::Path::const_iterator cit = pathtr.begin(); cit != pathtr.end_open(); ++cit) {
+    for(Geom::Path::const_iterator cit = pathtr.begin(); cit != pathtr.end_default(); ++cit) {
         AddCurve(*cit);
     }