bool CNode_Impl::IsExecuting() {
bool RetVal = false;
if ( !IsMacro() && DataFlowEditor() && DataFlowEditor()->Executor() ) {
- if ( DataFlowEditor()->IsExecuting() && DataFlowEditor()->Executor()->IsDone() )
- DataFlowEditor()->Executing( false );
+ // asv : the statement below normally does not return true, Executor_OutNode
+ // sets Editor->Editing() after finishing of execution (see Executor_OutNode.cxx)
+ if ( DataFlowEditor()->IsExecuting() && DataFlowEditor()->Executor()->IsDone() ) {
+ DataFlowEditor()->Editing();
+ }
RetVal = DataFlowEditor()->IsExecuting();
}