index 6c3b71af483e0d54a35e4a1cc5b2053553551345..30c7b162cc083420ce6931f401dfc25374bd650b 100644 (file)
try {
curve->get_pathvector() * Geom::identity(); // tests for continuity, this makes LPE Spiro slower of course :-(
}
- catch (std::exception & e) {
+ catch (Geom::ContinuityError & e) {
g_warning("Exception during LPE Spiro execution. \n %s", e.what());
SP_ACTIVE_DESKTOP->messageStack()->flash( Inkscape::WARNING_MESSAGE,
_("An exception occurred during execution of the Spiro Path Effect.") );
- curve->set_pathv(original_pathv);
+ curve->set_pathvector(original_pathv);
}
}