diff options
| author | MenTaLguY <mental@rydia.net> | 2007-03-17 19:00:45 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2007-03-17 19:00:45 +0000 |
| commit | 70dcb712d89b98453c4ea6e4868c88af8d2887e4 (patch) | |
| tree | c19680dd8b7c41260a6224b54f3e1712a1da08da /src/sp-offset.cpp | |
| parent | clean up rect mess a bit before start working on other stuff (diff) | |
| download | inkscape-70dcb712d89b98453c4ea6e4868c88af8d2887e4.tar.gz inkscape-70dcb712d89b98453c4ea6e4868c88af8d2887e4.zip | |
re-introduce isEmpty tests
(bzr r2679)
Diffstat (limited to 'src/sp-offset.cpp')
| -rw-r--r-- | src/sp-offset.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-offset.cpp b/src/sp-offset.cpp index ed4db90b7..e682f394b 100644 --- a/src/sp-offset.cpp +++ b/src/sp-offset.cpp @@ -585,7 +585,7 @@ sp_offset_set_shape(SPShape *shape) SPItem *item = shape; NR::Maybe<NR::Rect> bbox = sp_item_bbox_desktop (item); - if ( bbox ) { + if ( bbox && !bbox->isEmpty() ) { gdouble size = L2(bbox->dimensions()); gdouble const exp = NR::expansion(item->transform); if (exp != 0) |
