summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-09-14 22:50:14 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-09-14 22:50:14 +0000
commit02fd63b2bced87a592e98848e7fd922e8966151f (patch)
tree4785cfdaa358a1953bec3bfb678fa007cbf6f590 /src/live_effects/effect.cpp
parentClean up code a bit. (diff)
downloadinkscape-02fd63b2bced87a592e98848e7fd922e8966151f.tar.gz
inkscape-02fd63b2bced87a592e98848e7fd922e8966151f.zip
change Y-scaling for curve stiching and path-along-path. add warning message when path effect errors due to 2geom exception.
(bzr r3748)
Diffstat (limited to 'src/live_effects/effect.cpp')
-rw-r--r--src/live_effects/effect.cpp8
1 files changed, 5 insertions, 3 deletions
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 <glibmm/i18n.h>
@@ -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;