diff options
| author | Xortex <sambut1987@gmail.com> | 2018-09-19 17:55:41 +0000 |
|---|---|---|
| committer | Xortex <sambut1987@gmail.com> | 2018-09-19 17:55:41 +0000 |
| commit | 68e10c785672926aab15960678ca63625f843300 (patch) | |
| tree | 4400a8e0305528494deb7608a14138865aaba4f5 /src/selection-chemistry.cpp | |
| parent | Fix build (diff) | |
| download | inkscape-68e10c785672926aab15960678ca63625f843300.tar.gz inkscape-68e10c785672926aab15960678ca63625f843300.zip | |
fix bug 1791694
Diffstat (limited to 'src/selection-chemistry.cpp')
| -rwxr-xr-x | src/selection-chemistry.cpp | 9 |
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(); |
