From 757daf2667d1ec00a67477597795cb8a3497fce1 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sat, 17 May 2008 10:47:58 +0000 Subject: Fix LPE for groups bounding box calculation by using the SPItem->getBounds method. Some preliminary work for LPE stacking. (bzr r5683) --- src/ui/dialog/livepatheffect-editor.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/ui') 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")); -- cgit v1.2.3