From eccacd1546405ffbea805859a640d445a1db162c Mon Sep 17 00:00:00 2001 From: rahuel Date: Tue, 6 Sep 2005 08:34:47 +0000 Subject: [PATCH] There was an error in the update of OutPort of Loop/EndLoopNodes (not used in the GUI) --- src/GraphBase/DataFlowBase_PortsOfNode.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/GraphBase/DataFlowBase_PortsOfNode.cxx b/src/GraphBase/DataFlowBase_PortsOfNode.cxx index d5eada2..1bf0778 100644 --- a/src/GraphBase/DataFlowBase_PortsOfNode.cxx +++ b/src/GraphBase/DataFlowBase_PortsOfNode.cxx @@ -398,9 +398,10 @@ GraphBase::OutPort * GraphBase::PortsOfNode::AddOutPort( CORBA::ORB_ptr ORB , else { index = _NodeOutPortsSize-2 - DataStreamOutPortsNumber() ; } - if ( aKindOfNode == SUPERV::LoopNode || aKindOfNode == SUPERV::EndLoopNode ) { - index += 1 ; - } +//JR Debug 01.09.2005 : GraphEditGraphSwitchs for AddOutPort and not in AddInPort ??? +// if ( aKindOfNode == SUPERV::LoopNode || aKindOfNode == SUPERV::EndLoopNode ) { +// index += 1 ; +// } if ( index >= 0 ) { int i ; for ( i = _NodeOutPortsSize - 2 ; i >= index ; i-- ) { -- 2.39.2