]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
Editing() : ASV
authorrahuel <rahuel@opencascade.com>
Wed, 8 Dec 2004 13:47:35 +0000 (13:47 +0000)
committerrahuel <rahuel@opencascade.com>
Wed, 8 Dec 2004 13:47:35 +0000 (13:47 +0000)
src/Supervision/Port_Impl.cxx

index 55a69f58008ea7618a670897621831f234a3b9ad..6aba03156ce9d2364e8480d58d8bdbe7f72cd492 100644 (file)
@@ -176,11 +176,16 @@ bool Port_Impl::Input( const CORBA::Any * anAny ) {
     else if ( _DataFlowEditor->IsExecuting() ) {
       GraphExecutor::DataFlow * _DataFlowExecutor = _DataFlowEditor->Executor() ;
       
+      /* commenting out the lines below because it seems to be never executed
+         Editor::_Executing flag is set OFF in Executor::OutNode on execution finished
+         and in CNode_Impl class (also not called probably)
       // asv: turn off Editor::_Executing flag
       if ( _DataFlowExecutor->IsDone() ) {
-       _DataFlowEditor->Executing( false );
+        _DataFlowEditor->Executing( false );
       }
-      else {
+      else 
+      */ 
+      if ( !_DataFlowExecutor->IsDone() ) {
         RetVal = _DataFlowExecutor->ChangeInputData( _DataFlowNode->Name() ,
                                                      _DataFlowPort->PortName() ,
                                                      *anAny ) ;