summaryrefslogtreecommitdiffstats
path: root/src/splivarot.cpp
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2013-05-05 11:58:23 +0000
committer~suv <suv-sf@users.sourceforge.net>2013-05-05 11:58:23 +0000
commit129e599f69d69970d27f827159d563d58c7831b9 (patch)
treefa15e756067f688a61f39da90793d4da90ea0176 /src/splivarot.cpp
parentmerge from trunk (r12305) (diff)
parentFix for 1171434 : trunk: INX <optiongroup> broken^ (diff)
downloadinkscape-129e599f69d69970d27f827159d563d58c7831b9.tar.gz
inkscape-129e599f69d69970d27f827159d563d58c7831b9.zip
merge from trunk (r12322)
(bzr r11668.1.69)
Diffstat (limited to 'src/splivarot.cpp')
-rw-r--r--src/splivarot.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/splivarot.cpp b/src/splivarot.cpp
index 18308be29..d07de51e3 100644
--- a/src/splivarot.cpp
+++ b/src/splivarot.cpp
@@ -406,6 +406,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<SPObject *>(il->data)->getRepr(), "style");
gchar const *val = sp_repr_css_property(css, "fill-rule", NULL);
if (val && strcmp(val, "nonzero") == 0) {