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 | |
| 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)
| -rw-r--r-- | ChangeLog | 10 | ||||
| -rw-r--r-- | src/libavoid/router.cpp | 4 |
2 files changed, 10 insertions, 4 deletions
@@ -1,3 +1,9 @@ +2006-07-13 Michael Wybrow <mjwybrow@users.sourceforge.net> + + * 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 <jon@rejon.org> * src/inkview: Added commandline option capability to inkview and @@ -7,7 +13,7 @@ 2006-07-02 Colin Marquardt <colin@marquardt-home.de> * AUTHORS, src/ui/dialog/aboutbox.cpp: Add Niko, Hugo, Dale and - Gustav. + Gustav. 2006-06-30 Michael Wybrow <mjwybrow@users.sourceforge.net> @@ -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 <tdwyer@mail.csse.monash.edu.au> +2005-12-23 Tim Dwyer <tdwyer@mail.csse.monash.edu.au> * 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); } } } |
