Code

* src/libavoid/router.cpp: Fixed a bug in the libavoid function
authormjwybrow <mjwybrow@users.sourceforge.net>
Fri, 14 Jul 2006 03:42:49 +0000 (03:42 +0000)
committermjwybrow <mjwybrow@users.sourceforge.net>
Fri, 14 Jul 2006 03:42:49 +0000 (03:42 +0000)
      Router::attachedConns().  Previously unused, but needed by Tim
      for new Graph Layout code.

ChangeLog
src/libavoid/router.cpp

index 1c2d2df1f7a4c769e1fc4ab411a2b68fa06e54fd..24defdebe8360e630af3c5838e391d0f8a1d1b1d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
          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
index c4dc8961f5fb714c9ff032ff20141a3e949a13b9..36514e24e37bbaada9956576515d280348cad796 100644 (file)
@@ -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);
         }
     }
 }