From: rahuel Date: Wed, 8 Dec 2004 13:47:35 +0000 (+0000) Subject: Editing() : ASV X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6d41145d78512d68e0614c950a93c58c0008422c;p=modules%2Fsuperv.git Editing() : ASV --- diff --git a/src/Supervision/Port_Impl.cxx b/src/Supervision/Port_Impl.cxx index 55a69f5..6aba031 100644 --- a/src/Supervision/Port_Impl.cxx +++ b/src/Supervision/Port_Impl.cxx @@ -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 ) ;