if ( aCNode ) {
GraphExecutor::InNode *anInNode = (GraphExecutor::InNode *)aCNode->GetInNode() ;
if ( anInNode ) {
- if ( anInNode->IsLoading() )
+ aret = anInNode->State() ;
+ // asv 27.01.05 - fix for PAL7849, return "Loading" state only if internal state is SUPERV::RunningState
+ if ( ( aret == GraphExecutor::ExecutingState ||
+ aret == GraphExecutor::ResumedExecutingState ) &&
+ anInNode->IsLoading() )
aret = GraphExecutor::LoadingState;
- else
- aret = anInNode->State() ;
// cdebug << "GraphExecutor::OutNode::State( " << NodeName << " ) "
// << theAutomaton->StateName( AutomatonGraphState( aret ) ) << endl ;
}