Salome HOME
Fix for bug IPAL8054 : "Supervisor is running" wrong message.
authormkr <mkr@opencascade.com>
Mon, 21 Nov 2005 08:16:30 +0000 (08:16 +0000)
committermkr <mkr@opencascade.com>
Mon, 21 Nov 2005 08:16:30 +0000 (08:16 +0000)
src/GraphBase/DataFlowBase_Graph.cxx

index c263fbbbbece0e57f002d7d36f620f97fe9da52b..7b63c99cca6269f32c37453441e3abf52a48f512 100644 (file)
@@ -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 ) ;
     }
   }