diff options
Diffstat (limited to 'src/live_effects/parameter')
| -rw-r--r-- | src/live_effects/parameter/path.cpp | 6 | ||||
| -rw-r--r-- | src/live_effects/parameter/path.h | 2 |
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); |
