summaryrefslogtreecommitdiffstats
path: root/src/splivarot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/splivarot.cpp')
-rw-r--r--src/splivarot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/splivarot.cpp b/src/splivarot.cpp
index d3d6c3db7..28d6f90be 100644
--- a/src/splivarot.cpp
+++ b/src/splivarot.cpp
@@ -1942,7 +1942,7 @@ sp_selected_path_simplify_items(SPDesktop *desktop,
bool didSomething = false;
- Geom::OptRect selectionBbox = selection->bounds();
+ Geom::OptRect selectionBbox = selection->visualBounds();
if (!selectionBbox) {
return false;
}
@@ -1963,7 +1963,7 @@ sp_selected_path_simplify_items(SPDesktop *desktop,
continue;
if (simplifyIndividualPaths) {
- Geom::OptRect itemBbox = item->getBounds(item->i2dt_affine());
+ Geom::OptRect itemBbox = item->desktopVisualBounds();
if (itemBbox) {
simplifySize = L2(itemBbox->dimensions());
} else {