From 02fd63b2bced87a592e98848e7fd922e8966151f Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Fri, 14 Sep 2007 22:50:14 +0000 Subject: change Y-scaling for curve stiching and path-along-path. add warning message when path effect errors due to 2geom exception. (bzr r3748) --- src/live_effects/effect.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/live_effects/effect.cpp') diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 29f9cb7ef..0773363dd 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -10,9 +10,9 @@ #include "xml/node-event-vector.h" #include "sp-object.h" #include "attributes.h" - +#include "message-stack.h" #include "desktop.h" - +#include "inkscape.h" #include "document.h" #include @@ -138,7 +138,9 @@ Effect::doEffect (NArtBpath * path_in) } catch (std::exception e) { g_warning("An exception occurred during execution of an LPE - %s", e.what()); - // return here + SP_ACTIVE_DESKTOP->messageStack()->flash( Inkscape::WARNING_MESSAGE, + _("An exception occurred during execution of a Path Effect.") ); + NArtBpath *path_out; unsigned ret = 0; -- cgit v1.2.3