From ae5f81d1dccb2f382e3a548b95c1220485c667ec Mon Sep 17 00:00:00 2001 From: johanengelen Date: Wed, 25 Jun 2008 21:40:04 +0000 Subject: [PATCH] fix bbox calculation for groups that contain groups with nothing in them (zero bbox groups) --- 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; } -- 2.30.2