summaryrefslogtreecommitdiffstats
path: root/src/conn-avoid-ref.cpp
diff options
context:
space:
mode:
authormjwybrow <mjwybrow@users.sourceforge.net>2009-06-12 08:01:34 +0000
committermjwybrow <mjwybrow@users.sourceforge.net>2009-06-12 08:01:34 +0000
commit0f67e8248477132e257ed1913279795084bdd6ba (patch)
tree6f1de7cf426c06d2262f45235f82db8dc899ff21 /src/conn-avoid-ref.cpp
parentFix a bug where the spinboxes on the connector toolbar did not properly (diff)
downloadinkscape-0f67e8248477132e257ed1913279795084bdd6ba.tar.gz
inkscape-0f67e8248477132e257ed1913279795084bdd6ba.zip
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. (bzr r8054)
Diffstat (limited to 'src/conn-avoid-ref.cpp')
-rw-r--r--src/conn-avoid-ref.cpp2
1 files changed, 1 insertions, 1 deletions
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) {