From: rahuel Date: Tue, 6 Sep 2005 08:34:47 +0000 (+0000) Subject: There was an error in the update of OutPort of Loop/EndLoopNodes (not used in the... X-Git-Tag: V3_1_0a1~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eccacd1546405ffbea805859a640d445a1db162c;p=modules%2Fsuperv.git There was an error in the update of OutPort of Loop/EndLoopNodes (not used in the GUI) --- 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-- ) {