Salome HOME
Bug fix: don't set "Loading" state for MacroNodes in InitialState() function (called...
authorasv <asv@opencascade.com>
Tue, 14 Dec 2004 06:54:32 +0000 (06:54 +0000)
committerasv <asv@opencascade.com>
Tue, 14 Dec 2004 06:54:32 +0000 (06:54 +0000)
src/GraphExecutor/DataFlowExecutor_InNode.cxx

index cea63629315e88863a9ea148f469ba600913332f..e03187981ecf14869adaff2be373016473aad782 100644 (file)
@@ -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 ) ;