summaryrefslogtreecommitdiffstats
path: root/src/splivarot.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-05-06 00:57:18 +0000
committerJabiertxo Arraiza Zenotz <jtx@jtx.marker.es>2013-05-06 00:57:18 +0000
commit658579b7ba73d404953808a0b399c747d7724804 (patch)
tree8032e88a23b043b876e19eb7ac99663ff96d0a4e /src/splivarot.cpp
parentRemoved auto select nodes, not decide for the user. Added auto update all sel... (diff)
parentFix for 1171434 : trunk: INX <optiongroup> broken^ (diff)
downloadinkscape-658579b7ba73d404953808a0b399c747d7724804.tar.gz
inkscape-658579b7ba73d404953808a0b399c747d7724804.zip
update to trunk
(bzr r11950.1.112)
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 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<SPObject *>(il->data)->getRepr(), "style");
gchar const *val = sp_repr_css_property(css, "fill-rule", NULL);
if (val && strcmp(val, "nonzero") == 0) {