From e2f4af7eb9d6a497308925930e89d2a403c3a5c9 Mon Sep 17 00:00:00 2001 From: Jabiertxof Date: Tue, 16 Jul 2019 16:37:19 +0200 Subject: Improvemets to power pencil --- src/object/sp-lpe-item.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/object') diff --git a/src/object/sp-lpe-item.cpp b/src/object/sp-lpe-item.cpp index 2e1e2c9f0..6be373925 100755 --- a/src/object/sp-lpe-item.cpp +++ b/src/object/sp-lpe-item.cpp @@ -250,6 +250,7 @@ bool SPLPEItem::performOnePathEffect(SPCurve *curve, SPShape *current, Inkscape: try { lpe->doEffect(curve); + lpe->has_exception = false; } catch (std::exception & e) { @@ -258,6 +259,7 @@ bool SPLPEItem::performOnePathEffect(SPCurve *curve, SPShape *current, Inkscape: SP_ACTIVE_DESKTOP->messageStack()->flash( Inkscape::WARNING_MESSAGE, _("An exception occurred during execution of the Path Effect.") ); } + lpe->has_exception = true; return false; } -- cgit v1.2.3