]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
Fix for bug PAL8004 : CRASH after trying to run edited MacroNode execution.
authormkr <mkr@opencascade.com>
Tue, 31 Jan 2006 15:48:06 +0000 (15:48 +0000)
committermkr <mkr@opencascade.com>
Tue, 31 Jan 2006 15:48:06 +0000 (15:48 +0000)
src/GraphBase/DataFlowBase_ComputingNode.cxx

index 12b7e59d718cc92a0980b98b6417a28a94657e3d..d8c606e98892a862e8933e9bec0fffd8acdb9e38 100644 (file)
@@ -466,6 +466,7 @@ void GraphBase::ComputingNode::UpdateMacroPorts( GraphBase::Graph * aGraph ) {
       cdebug << "UpdateMacroPorts DelInPort In" << i << " " << GetNodeInPort( i )->PortName() << " "
              << GetNodeInPort( i )->PortType() << " " << GetNodeInPort( i )->Kind() << endl ;
       DelInPort( GetNodeInPort( i )->PortName() ) ;
+      i--; // mkr : fix for bug PAL8004
     }
   }
   int index ;