Salome HOME
There was a wrong error message in the .log file
authorrahuel <rahuel@opencascade.com>
Tue, 6 Sep 2005 08:30:49 +0000 (08:30 +0000)
committerrahuel <rahuel@opencascade.com>
Tue, 6 Sep 2005 08:30:49 +0000 (08:30 +0000)
src/GraphBase/DataFlowBase_Graph.cxx

index d461fadac5dade5213f4cbd0b7b93fca259d71f8..a231ec8cda82bc4714894bdd1e9e28fc78c7cca3 100644 (file)
@@ -3159,6 +3159,11 @@ const CORBA::Any GraphBase::Graph::PortInData( const char* ToNodeName ,
              << ToServiceParameterName << " ERROR no InPort" << endl ;
     }
   }
+  else if ( !strcmp( ToNodeName , Name() ) &&
+            !strcmp( ToServiceParameterName , "Gate" ) ) {
+    cdebug << "GraphBase::Graph::PortInData " << ToNodeName << " "
+           << ToServiceParameterName << " InGate ignored" << endl ;
+  }
   else {
     cdebug << "GraphBase::Graph::PortInData " << ToNodeName << " "
            << ToServiceParameterName << " ERROR no Node" << endl ;
@@ -3206,6 +3211,11 @@ const CORBA::Any GraphBase::Graph::PortOutData( const char* FromNodeName ,
              << FromServiceParameterName << " ERROR no OutPort" << endl ;
     }
   }
+  else if ( !strcmp( FromNodeName , Name() ) &&
+            !strcmp( FromServiceParameterName , "Gate" ) ) {
+    cdebug << "GraphBase::Graph::PortOutData " << FromNodeName << " "
+           << FromServiceParameterName << " OutGate ignored" << endl ;
+  }
   else {
     cdebug << "GraphBase::Graph::PortOutData " << FromNodeName << " "
            << FromServiceParameterName << " ERROR no Node" << endl ;