diff options
Diffstat (limited to 'src/sp-shape.cpp')
| -rw-r--r-- | src/sp-shape.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/sp-shape.cpp b/src/sp-shape.cpp index 2ae76ef2e..7366e533f 100644 --- a/src/sp-shape.cpp +++ b/src/sp-shape.cpp @@ -578,10 +578,8 @@ static void sp_shape_bbox(SPItem const *item, NRRect *bbox, NR::Matrix const &tr } } - if ( fabs(cbbox.x1-cbbox.x0) > -0.00001 && fabs(cbbox.y1-cbbox.y0) > -0.00001 ) { - NRRect tbbox=*bbox; - nr_rect_d_union (bbox, &cbbox, &tbbox); - } + // copy our bbox to the variable we're given + *bbox = cbbox; } } |
