diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-06-10 12:35:36 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-06-10 12:35:36 +0000 |
| commit | 9df0d95cbecfc05c9c4fbe7bd51a6b744c5c56a5 (patch) | |
| tree | 7f79bec201fa7fac6dab847dcf497091ad174404 /src/live_effects/effect.cpp | |
| parent | fix compile (diff) | |
| download | inkscape-9df0d95cbecfc05c9c4fbe7bd51a6b744c5c56a5.tar.gz inkscape-9df0d95cbecfc05c9c4fbe7bd51a6b744c5c56a5.zip | |
Write all effect parameters to SVG when a LPE knotholder handle is ungrabbed
(bzr r5870)
Diffstat (limited to 'src/live_effects/effect.cpp')
| -rw-r--r-- | src/live_effects/effect.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index b08077e79..de41d6a59 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -215,6 +215,16 @@ Effect::doBeforeEffect (SPLPEItem */*lpeitem*/) } +void +Effect::writeParamsToSVG() { + g_print ("Parameters get written to SVG\n"); + std::vector<Inkscape::LivePathEffect::Parameter *>::iterator p; + for (p = param_vector.begin(); p != param_vector.end(); ++p) { + g_print ("writing parameter %s to SVG\n", (*p)->param_key.c_str()); + (*p)->write_to_SVG(); + } +} + /* * Here be the doEffect function chain: */ |
