From: mkr Date: Tue, 31 Jan 2006 15:48:06 +0000 (+0000) Subject: Fix for bug PAL8004 : CRASH after trying to run edited MacroNode execution. X-Git-Tag: mergeto_trunk_07Feb06~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bd9c4e61b1e5e25f33622c97f7ae08a390744fc3;p=modules%2Fsuperv.git Fix for bug PAL8004 : CRASH after trying to run edited MacroNode execution. --- diff --git a/src/GraphBase/DataFlowBase_ComputingNode.cxx b/src/GraphBase/DataFlowBase_ComputingNode.cxx index 12b7e59..d8c606e 100644 --- a/src/GraphBase/DataFlowBase_ComputingNode.cxx +++ b/src/GraphBase/DataFlowBase_ComputingNode.cxx @@ -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 ;