From: mjwybrow Date: Fri, 14 Jul 2006 03:42:49 +0000 (+0000) Subject: * src/libavoid/router.cpp: Fixed a bug in the libavoid function X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3e13eaaba774420d7892b7cb61aed1fb22144307;p=inkscape.git * src/libavoid/router.cpp: Fixed a bug in the libavoid function Router::attachedConns(). Previously unused, but needed by Tim for new Graph Layout code. --- diff --git a/ChangeLog b/ChangeLog index 1c2d2df1f..24defdebe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-07-13 Michael Wybrow + + * src/libavoid/router.cpp: Fixed a bug in the libavoid function + Router::attachedConns(). Previously unused, but needed by Tim + for new Graph Layout code. + 2006-07-13 Jon Phillips * src/inkview: Added commandline option capability to inkview and @@ -7,7 +13,7 @@ 2006-07-02 Colin Marquardt * AUTHORS, src/ui/dialog/aboutbox.cpp: Add Niko, Hugo, Dale and - Gustav. + Gustav. 2006-06-30 Michael Wybrow @@ -1480,7 +1486,7 @@ src/widgets/desktop-widget.h, src/widgets/desktop-widget.cpp: Adding panels/swatches to main UI. -2005-11-23 Tim Dwyer +2005-12-23 Tim Dwyer * src/removeoverlap/*.{cpp,h}: Bug fix in removeoverlap algorithm that should finally get timestamps working properly. Specifically, heap diff --git a/src/libavoid/router.cpp b/src/libavoid/router.cpp index c4dc8961f..36514e24e 100644 --- a/src/libavoid/router.cpp +++ b/src/libavoid/router.cpp @@ -191,10 +191,10 @@ void Router::attachedConns(IntList &conns, const unsigned int shapeId, for (ConnRefList::iterator i = connRefs.begin(); i != fin; ++i) { if ((type & runningTo) && ((*i)->_dstId == shapeId)) { - conns.push_back((*i)->_srcId); + conns.push_back((*i)->_id); } else if ((type & runningFrom) && ((*i)->_srcId == shapeId)) { - conns.push_back((*i)->_dstId); + conns.push_back((*i)->_id); } } }