From: mkr Date: Mon, 21 Nov 2005 08:16:30 +0000 (+0000) Subject: Fix for bug IPAL8054 : "Supervisor is running" wrong message. X-Git-Tag: BR_3_1_0_deb~6 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsuperv.git;a=commitdiff_plain;h=736219276cf4b35eb90b7e75db848dedc0c5b7e3 Fix for bug IPAL8054 : "Supervisor is running" wrong message. --- diff --git a/src/GraphBase/DataFlowBase_Graph.cxx b/src/GraphBase/DataFlowBase_Graph.cxx index c263fbb..7b63c99 100644 --- a/src/GraphBase/DataFlowBase_Graph.cxx +++ b/src/GraphBase/DataFlowBase_Graph.cxx @@ -1583,7 +1583,7 @@ bool GraphBase::Graph::AddInputData( const char* ToNodeName , aValue >>= t; cdebug << t << " (string) " ; if ( !strcmp( t, "Unknown CORBA::Any Type" ) ) - // mkr : in this case port has no input value + // mkr : IPAL8054 : in this case port has no input value isUnknown = true; break; case CORBA::tk_double: @@ -1646,7 +1646,7 @@ bool GraphBase::Graph::AddInputData( const char* ToNodeName , toNode , toPort ) ; if ( RetVal ) { fromDataNodePort->SetValue( aValue ) ; - if ( !isUnknown ) + if ( !isUnknown ) // mkr : IPAL8054 : to avoid setting "strange" value to a port fromDataNodePort->PortStatus( DataConnected ) ; } }