Code

Make broken doOnApply() for LPEs work again
authorcilix42 <cilix42@users.sourceforge.net>
Tue, 10 Jun 2008 14:09:37 +0000 (14:09 +0000)
committercilix42 <cilix42@users.sourceforge.net>
Tue, 10 Jun 2008 14:09:37 +0000 (14:09 +0000)
src/sp-lpe-item.cpp

index dce9429348dad46d2e03623e9815f016a1ff8f6f..7a18c10b5928538e2dba1378b83072c0ae7744bc 100644 (file)
@@ -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