From: cilix42 Date: Tue, 10 Jun 2008 14:09:37 +0000 (+0000) Subject: Make broken doOnApply() for LPEs work again X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=52a2b6c5ec3d4d41abe2ca8afd597ec0f928c2a7;p=inkscape.git Make broken doOnApply() for LPEs work again --- diff --git a/src/sp-lpe-item.cpp b/src/sp-lpe-item.cpp index dce942934..7a18c10b5 100644 --- a/src/sp-lpe-item.cpp +++ b/src/sp-lpe-item.cpp @@ -435,6 +435,8 @@ void sp_lpe_item_add_path_effect(SPLPEItem *lpeitem, gchar *value, bool reset) // has to be called when all the subitems have their lpes applied lpeobj->lpe->resetDefaults(lpeitem); } + /* perform this once when the effect is applied */ + lpeobj->lpe->doOnApply(SP_LPE_ITEM(lpeitem)); } //Enable the path effects now that everything is ready to apply the new path effect