Comment 6 for bug 1330295

Revision history for this message
Martin Owens (doctormo) wrote :

This patch stops the error:

=== modified file 'src/2geom/path.cpp'
--- src/2geom/path.cpp 2014-04-06 21:54:56 +0000
+++ src/2geom/path.cpp 2014-06-19 23:27:23 +0000
@@ -383,7 +383,7 @@
     final_->setPoint(1, c->initialPoint());
   } else {
     if (c->initialPoint() != finalPoint()) {
- THROW_CONTINUITYERROR();
+ return; //THROW_CONTINUITYERROR();
     }
   }
   get_curves().insert(get_curves().end()-1, boost::shared_ptr<Curve>(c));

Basically that throw isn't caught, death to inkscape. No ill effects are experienced with a simple return here. thoughts?