Code

Filter effects dialog:
[inkscape.git] / src / sp-offset.cpp
index ed4db90b773f57cd1dc888dbdbc70defeb1468a6..e682f394bb74c41029ce91c6aec088aa84c729ba 100644 (file)
@@ -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)