From 4b0f58e1d91b89bd44a187c150f068f01fa7bd87 Mon Sep 17 00:00:00 2001 From: Nicolas Dufour Date: Wed, 1 May 2013 07:55:48 +0200 Subject: Fix for Bug #629081 (Spiro and path operations fails) by Matthew Petroff. Fixed bugs: - https://launchpad.net/bugs/629081 (bzr r12314) --- src/splivarot.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/splivarot.cpp') diff --git a/src/splivarot.cpp b/src/splivarot.cpp index 2015ffd27..e45712134 100644 --- a/src/splivarot.cpp +++ b/src/splivarot.cpp @@ -207,6 +207,11 @@ sp_selected_path_boolop(SPDesktop *desktop, bool_op bop, const unsigned int verb curOrig = 0; for (GSList *l = il; l != NULL; l = l->next) { + // apply live path effects prior to performing boolean operation + if (SP_IS_LPE_ITEM(l->data)) { + sp_lpe_item_remove_all_path_effects(SP_LPE_ITEM(l->data), true); + } + SPCSSAttr *css = sp_repr_css_attr(reinterpret_cast(il->data)->getRepr(), "style"); gchar const *val = sp_repr_css_property(css, "fill-rule", NULL); if (val && strcmp(val, "nonzero") == 0) { -- cgit v1.2.3