diff options
| author | Bastien Bouclet <bastien.bouclet@gmail.com> | 2008-05-17 10:47:58 +0000 |
|---|---|---|
| committer | bgk <bgk@users.sourceforge.net> | 2008-05-17 10:47:58 +0000 |
| commit | 757daf2667d1ec00a67477597795cb8a3497fce1 (patch) | |
| tree | 9f18a9740be39aea72a42d03f69c98700dbe8e0c /src/ui/dialog/livepatheffect-editor.cpp | |
| parent | Warning cleanup (diff) | |
| download | inkscape-757daf2667d1ec00a67477597795cb8a3497fce1.tar.gz inkscape-757daf2667d1ec00a67477597795cb8a3497fce1.zip | |
Fix LPE for groups bounding box calculation by using the SPItem->getBounds method.
Some preliminary work for LPE stacking.
(bzr r5683)
Diffstat (limited to 'src/ui/dialog/livepatheffect-editor.cpp')
| -rw-r--r-- | src/ui/dialog/livepatheffect-editor.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/ui/dialog/livepatheffect-editor.cpp b/src/ui/dialog/livepatheffect-editor.cpp index f62556d23..d48223201 100644 --- a/src/ui/dialog/livepatheffect-editor.cpp +++ b/src/ui/dialog/livepatheffect-editor.cpp @@ -247,14 +247,9 @@ LivePathEffectEditor::onApply() Inkscape::GC::release(repr); gchar *href = g_strdup_printf("#%s", repr_id); - sp_lpe_item_set_path_effect(SP_LPE_ITEM(item), href); + sp_lpe_item_set_path_effect(SP_LPE_ITEM(item), href, true); g_free(href); - LivePathEffectObject *lpeobj = sp_lpe_item_get_livepatheffectobject(SP_LPE_ITEM(item)); - if (lpeobj && lpeobj->lpe) { - lpeobj->lpe->resetDefaults(item); - } - sp_document_done(doc, SP_VERB_DIALOG_LIVE_PATH_EFFECT, _("Create and apply path effect")); |
