summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
authorXortex <sambut1987@gmail.com>2018-09-19 17:55:41 +0000
committerXortex <sambut1987@gmail.com>2018-09-19 17:55:41 +0000
commit68e10c785672926aab15960678ca63625f843300 (patch)
tree4400a8e0305528494deb7608a14138865aaba4f5 /src/selection-chemistry.cpp
parentFix build (diff)
downloadinkscape-68e10c785672926aab15960678ca63625f843300.tar.gz
inkscape-68e10c785672926aab15960678ca63625f843300.zip
fix bug 1791694
Diffstat (limited to 'src/selection-chemistry.cpp')
-rwxr-xr-xsrc/selection-chemistry.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp
index b2a54244a..402fab372 100755
--- a/src/selection-chemistry.cpp
+++ b/src/selection-chemistry.cpp
@@ -3951,6 +3951,15 @@ void ObjectSet::setClipGroup()
sort(items_.begin(),items_.end(),sp_object_compare_position_bool);
+ //convert any rects to paths
+ for (std::vector<SPItem*>::const_iterator i = items_.begin(); i != items_.end(); ++i) {
+ clear();
+ if (dynamic_cast<SPRect *>(*i)) {
+ add(*i);
+ toCurves();
+ }
+ }
+
// See lp bug #542004
clear();