From 52a2b6c5ec3d4d41abe2ca8afd597ec0f928c2a7 Mon Sep 17 00:00:00 2001 From: cilix42 Date: Tue, 10 Jun 2008 14:09:37 +0000 Subject: [PATCH] Make broken doOnApply() for LPEs work again --- src/sp-lpe-item.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2