From: mkr Date: Wed, 5 Jul 2006 08:27:11 +0000 (+0000) Subject: Fix for PAL12854 : EDF211 SUPERV Incorrect execution of a correct graph correct under... X-Git-Tag: T3_2_1_pre~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b60ae956a25d0fc3e2ff75d6ed342adfaf8ad75a;p=modules%2Fsuperv.git Fix for PAL12854 : EDF211 SUPERV Incorrect execution of a correct graph correct under a context. --- diff --git a/src/GraphExecutor/DataFlowExecutor_InNode.cxx b/src/GraphExecutor/DataFlowExecutor_InNode.cxx index 028a970..fde0428 100644 --- a/src/GraphExecutor/DataFlowExecutor_InNode.cxx +++ b/src/GraphExecutor/DataFlowExecutor_InNode.cxx @@ -1580,6 +1580,11 @@ bool GraphExecutor::InNode::InitPythonFunctions(bool WithErr ) { string( Name() ) ; _OutNode->Graph()->SetMessages( anErrorMessage ) ; } + // PAL12854 --> + if ( Err ) { + PyFuncRunned( false ) ; + } + // PAL12854 <-- cdebug << "GraphExecutor::InNode::InitPythonFunctions " << Name() << " PyRunMethod(Init) " << PyRunMethod << " PyMoreMethod " << PyMoreMethod << " PyNextMethod " << PyNextMethod << endl;