From c102d1b10825a91a3f2bcb77075f038b62ab15b5 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Wed, 25 Jun 2008 21:40:04 +0000 Subject: fix bbox calculation for groups that contain groups with nothing in them (zero bbox groups) (bzr r6061) --- src/sp-item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 *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) - *bbox = NR::Nothing(); + // So union bbox with nothing = do nothing, just return return; } -- cgit v1.2.3