From: mjwybrow Date: Fri, 12 Jun 2009 08:01:34 +0000 (+0000) Subject: Fix a bug where the spacing control for connectors reduced the size of X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5f6a46c918d1053939c9f8de7e56cae6f49cf30c;p=inkscape.git 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. --- 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) {