diff options
| author | mjwybrow <mjwybrow@users.sourceforge.net> | 2006-07-14 03:42:49 +0000 |
|---|---|---|
| committer | mjwybrow <mjwybrow@users.sourceforge.net> | 2006-07-14 03:42:49 +0000 |
| commit | 354e68f0d9cdf79481cc5ed0588112408d600bd2 (patch) | |
| tree | 8b33d5c55af8ae6defb08de80cb064fb603a5366 /src | |
| parent | added commandline option ability and got timer ready for doing automatic (diff) | |
| download | inkscape-354e68f0d9cdf79481cc5ed0588112408d600bd2.tar.gz inkscape-354e68f0d9cdf79481cc5ed0588112408d600bd2.zip | |
* src/libavoid/router.cpp: Fixed a bug in the libavoid function
Router::attachedConns(). Previously unused, but needed by Tim
for new Graph Layout code.
(bzr r1407)
Diffstat (limited to 'src')
| -rw-r--r-- | src/libavoid/router.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } } |
