summaryrefslogtreecommitdiffstats
path: root/src/object/sp-clippath.cpp
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2018-10-07 08:56:13 +0000
committerThomas Holder <thomas@thomas-holder.de>2018-10-08 16:55:32 +0000
commit5aba53345ddd288372c35e656829b94bae8c8be1 (patch)
tree09c536da7d37dd5926bf1e85d5704a4224df59bf /src/object/sp-clippath.cpp
parentMake middle-click functionality on color fields discoverable. (diff)
downloadinkscape-5aba53345ddd288372c35e656829b94bae8c8be1.tar.gz
inkscape-5aba53345ddd288372c35e656829b94bae8c8be1.zip
fix 1795276 clipped object's selection bbox
reverts a line from 95b1c7b549
Diffstat (limited to 'src/object/sp-clippath.cpp')
-rw-r--r--src/object/sp-clippath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/sp-clippath.cpp b/src/object/sp-clippath.cpp
index 91bd10b35..cb1e30d8b 100644
--- a/src/object/sp-clippath.cpp
+++ b/src/object/sp-clippath.cpp
@@ -230,7 +230,7 @@ Geom::OptRect SPClipPath::geometricBounds(Geom::Affine const &transform) {
Geom::OptRect bbox;
for (auto& i: children) {
if (SP_IS_ITEM(&i)) {
- Geom::OptRect tmp = SP_ITEM(&i)->geometricBounds(transform);
+ Geom::OptRect tmp = SP_ITEM(&i)->geometricBounds(SP_ITEM(&i)->transform * transform);
bbox.unionWith(tmp);
}
}