Salome HOME
PAL8521
authorrahuel <rahuel@opencascade.com>
Tue, 30 Aug 2005 07:58:36 +0000 (07:58 +0000)
committerrahuel <rahuel@opencascade.com>
Tue, 30 Aug 2005 07:58:36 +0000 (07:58 +0000)
src/Supervision/StreamGraph_Impl.cxx

index 6602d2c7fdc10d8db64bf54e941a1badf02e7bbd..76b19d477715cd195cae743520c6f56a2dab904f 100644 (file)
@@ -265,8 +265,10 @@ SUPERV::ListOfStreamLinks * StreamGraph_Impl::StreamLinks( GraphBase::ComputingN
                         << anOutPort->PortName() << ") --> " << aNode->Name() << "("
                         << anInPort->PortName() << ")" ) ;
                 if ( theNode == NULL ||
-                     ( theNode != NULL && !theNode->IsEndSwitchNode() &&
-                       !strcmp( theNode->Name() , aNode->Name() ) ) ) {
+//PAL8521
+//JR 14.02.2005 : Debug : we must see also that links !
+//                     ( theNode != NULL && !theNode->IsEndSwitchNode() &&
+                       !strcmp( theNode->Name() , aNode->Name() ) ) {
                   if ( anInPort->IsLoop() || anOutPort->IsLoop() ||
                        ( aNode->IsEndLoopNode() && !strcmp( aNode->CoupledNode()->Name() ,
                                                             anOutPort->NodeName() ) ) ) {
@@ -332,7 +334,9 @@ SUPERV::ListOfStreamLinks * StreamGraph_Impl::StreamLinks( GraphBase::ComputingN
           if ( theNode == NULL ||
                !strcmp( theNode->Name() , aNode->Name() ) ) {
             if ( anInPort->IsDataStream() ) {
-              if ( theNode || ( toNode->IsEndSwitchNode() && !aNode->IsSwitchNode() ) ) {
+//PAL8521
+//JR 14.02.2005 : Debug : we must see also that links !
+//              if ( theNode || ( toNode->IsEndSwitchNode() && !aNode->IsSwitchNode() ) ) {
                 if ( anInputParam == NULL ||
                      !strcmp( anInPort->PortName() , anInputParam ) ) {
                   MESSAGE( "StreamLink " << anOutPort->NodeName() << "("
@@ -391,7 +395,7 @@ SUPERV::ListOfStreamLinks * StreamGraph_Impl::StreamLinks( GraphBase::ComputingN
                            << anOutPort->PortName() << ") --> " << toNode->Name() << "("
                            << anInPort->PortName() << ")" << " skipped" ) ;
                }
-             }
+//           }
            }
          }
         }