diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2013-05-01 05:55:48 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2013-05-01 05:55:48 +0000 |
| commit | 4b0f58e1d91b89bd44a187c150f068f01fa7bd87 (patch) | |
| tree | 4f5a9595bc1c5b8c6955179386ec4f64230061ee /src/splivarot.cpp | |
| parent | Fix for Bug #257223 (Object to Path should work for Connectors) by Matthew Pe... (diff) | |
| download | inkscape-4b0f58e1d91b89bd44a187c150f068f01fa7bd87.tar.gz inkscape-4b0f58e1d91b89bd44a187c150f068f01fa7bd87.zip | |
Fix for Bug #629081 (Spiro and path operations fails) by Matthew Petroff.
Fixed bugs:
- https://launchpad.net/bugs/629081
(bzr r12314)
Diffstat (limited to 'src/splivarot.cpp')
| -rw-r--r-- | src/splivarot.cpp | 5 |
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) { |
