From: asv Date: Tue, 14 Dec 2004 06:54:32 +0000 (+0000) Subject: Bug fix: don't set "Loading" state for MacroNodes in InitialState() function (called... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cbb0219fe6d6bf11f98f2306c2855fef1eaa2d44;p=modules%2Fsuperv.git Bug fix: don't set "Loading" state for MacroNodes in InitialState() function (called for every node before execution). --- diff --git a/src/GraphExecutor/DataFlowExecutor_InNode.cxx b/src/GraphExecutor/DataFlowExecutor_InNode.cxx index cea6362..e031879 100644 --- a/src/GraphExecutor/DataFlowExecutor_InNode.cxx +++ b/src/GraphExecutor/DataFlowExecutor_InNode.cxx @@ -1316,7 +1316,11 @@ void GraphExecutor::InNode::InitialState() CreateNewThreadIf( false ) ; _SuspendSync = false ; _ResumeSync = false ; - IsLoading( true ) ; + + // asv : 13.12.04 : "Loading" state is ON (and OFF eventially) only for Computing, Factory, Inline nodes + if ( !IsMacroNode() ) + IsLoading( true ) ; + // ThreadNo( pthread_self() ) ; ThreadNo( 0 ) ;