summaryrefslogtreecommitdiffstats
path: root/src/sp-item.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-06-25 21:40:04 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-06-25 21:40:04 +0000
commitc102d1b10825a91a3f2bcb77075f038b62ab15b5 (patch)
tree7c4a80a37302ca3a3651f05069614e4710a431ff /src/sp-item.cpp
parenthelp detection of path read bug (diff)
downloadinkscape-c102d1b10825a91a3f2bcb77075f038b62ab15b5.tar.gz
inkscape-c102d1b10825a91a3f2bcb77075f038b62ab15b5.zip
fix bbox calculation for groups that contain groups with nothing in them (zero bbox groups)
(bzr r6061)
Diffstat (limited to 'src/sp-item.cpp')
-rw-r--r--src/sp-item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp
index 10f2683b8..33f140de2 100644
--- a/src/sp-item.cpp
+++ b/src/sp-item.cpp
@@ -821,7 +821,7 @@ sp_item_invoke_bbox_full(SPItem const *item, NR::Maybe<NR::Rect> *bbox, NR::Matr
// When x0 > x1 or y0 > y1, the bbox is considered to be "nothing", although it has not been
// explicitely defined this way for NRRects (as opposed to NR::Maybe<NR::Rect>)
- *bbox = NR::Nothing();
+ // So union bbox with nothing = do nothing, just return
return;
}