summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-02-20 08:58:35 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-02-20 08:58:35 +0000
commit8dcceaad4a012fba553f525718c6eab832378894 (patch)
tree5165834abbbff3994152ef2a81f9d1e0a7d3895f /src/live_effects/parameter
parentyet another contextual split (diff)
downloadinkscape-8dcceaad4a012fba553f525718c6eab832378894.tar.gz
inkscape-8dcceaad4a012fba553f525718c6eab832378894.zip
fix Bug #191909 crash on lpe stitch sub-paths, also fix crash for bend path lpe
(bzr r4789)
Diffstat (limited to 'src/live_effects/parameter')
-rw-r--r--src/live_effects/parameter/path.cpp6
-rw-r--r--src/live_effects/parameter/path.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp
index 7d7679496..09b0ff5d4 100644
--- a/src/live_effects/parameter/path.cpp
+++ b/src/live_effects/parameter/path.cpp
@@ -58,6 +58,12 @@ PathParam::param_set_default()
param_readSVGValue(defvalue);
}
+void
+PathParam::param_set_and_write_default()
+{
+ param_write_to_repr(defvalue);
+}
+
bool
PathParam::param_readSVGValue(const gchar * strvalue)
{
diff --git a/src/live_effects/parameter/path.h b/src/live_effects/parameter/path.h
index f02974bc7..8ee7950a3 100644
--- a/src/live_effects/parameter/path.h
+++ b/src/live_effects/parameter/path.h
@@ -39,7 +39,7 @@ public:
gchar * param_writeSVGValue() const;
void param_set_default();
-
+ void param_set_and_write_default();
void param_set_and_write_new_value (Geom::Piecewise<Geom::D2<Geom::SBasis> > newpath);
void param_editOncanvas(SPItem * item, SPDesktop * dt);