From 5f6a46c918d1053939c9f8de7e56cae6f49cf30c Mon Sep 17 00:00:00 2001 From: mjwybrow Date: Fri, 12 Jun 2009 08:01:34 +0000 Subject: [PATCH] Fix a bug where the spacing control for connectors reduced the size of obstacle's bounding boxes, rather than expanding them. This is a result of a previous change that fixed libavoid's winding order to match Inkscape's. --- src/conn-avoid-ref.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conn-avoid-ref.cpp b/src/conn-avoid-ref.cpp index 4eb85086e..43c9c0b66 100644 --- a/src/conn-avoid-ref.cpp +++ b/src/conn-avoid-ref.cpp @@ -199,7 +199,7 @@ static Avoid::Polygn avoid_item_poly(SPItem const *item) // Add a little buffer around the edge of each object. Geom::Rect rExpandedHull = *rHull; - rExpandedHull.expandBy(-spacing); + rExpandedHull.expandBy(spacing); poly = Avoid::newPoly(4); for (unsigned n = 0; n < 4; ++n) { -- 2.30.2