]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
There was an error in the update of OutPort of Loop/EndLoopNodes (not used in the...
authorrahuel <rahuel@opencascade.com>
Tue, 6 Sep 2005 08:34:47 +0000 (08:34 +0000)
committerrahuel <rahuel@opencascade.com>
Tue, 6 Sep 2005 08:34:47 +0000 (08:34 +0000)
src/GraphBase/DataFlowBase_PortsOfNode.cxx

index d5eada268d68e69067ddfacc6712bc4b33c2b30e..1bf07786089d97332ae8ede6b99664357c4e9f9c 100644 (file)
@@ -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-- ) {