From 68e10c785672926aab15960678ca63625f843300 Mon Sep 17 00:00:00 2001 From: Xortex Date: Wed, 19 Sep 2018 19:55:41 +0200 Subject: fix bug 1791694 --- src/selection-chemistry.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/selection-chemistry.cpp') 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::const_iterator i = items_.begin(); i != items_.end(); ++i) { + clear(); + if (dynamic_cast(*i)) { + add(*i); + toCurves(); + } + } + // See lp bug #542004 clear(); -- cgit v1.2.3