diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2007-10-30 22:37:20 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2007-10-30 22:37:20 +0000 |
| commit | 2fb0d596bc5823f8d72a8a4262e147231170c9cd (patch) | |
| tree | 8bee900fb0996e66b273f598174f67bd12375407 /src/ui/dialog/livepatheffect-editor.cpp | |
| parent | r16896@shi: ted | 2007-10-30 12:16:06 -0700 (diff) | |
| download | inkscape-2fb0d596bc5823f8d72a8a4262e147231170c9cd.tar.gz inkscape-2fb0d596bc5823f8d72a8a4262e147231170c9cd.zip | |
LPE: implement NEW path-along-path effect, i think that old one has become obsolete and is renamed accordingly. implement straight path node editting for gears effect.
(bzr r3983)
Diffstat (limited to 'src/ui/dialog/livepatheffect-editor.cpp')
| -rw-r--r-- | src/ui/dialog/livepatheffect-editor.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ui/dialog/livepatheffect-editor.cpp b/src/ui/dialog/livepatheffect-editor.cpp index ec6c5c6ee..b60d7e357 100644 --- a/src/ui/dialog/livepatheffect-editor.cpp +++ b/src/ui/dialog/livepatheffect-editor.cpp @@ -108,7 +108,8 @@ LivePathEffectEditor::LivePathEffectEditor(Behavior::BehaviorFactory behavior_fa setDesktop(SP_ACTIVE_DESKTOP); show_all_children(); - button_remove.hide(); + + button_remove.hide(); } LivePathEffectEditor::~LivePathEffectEditor() @@ -267,6 +268,11 @@ LivePathEffectEditor::onApply() } } + LivePathEffectObject *lpeobj = sp_shape_get_livepatheffectobject(SP_SHAPE(item)); + if (lpeobj && lpeobj->lpe) { + lpeobj->lpe->resetDefaults(item); + } + sp_document_done(doc, SP_VERB_DIALOG_LIVE_PATH_EFFECT, _("Create and apply path effect")); } |
