]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
Fix for bug PAL7982 : Supervisor import/export data flow - created links are not...
authormkr <mkr@opencascade.com>
Fri, 21 Oct 2005 08:50:59 +0000 (08:50 +0000)
committermkr <mkr@opencascade.com>
Fri, 21 Oct 2005 08:50:59 +0000 (08:50 +0000)
src/Supervision/Graph_Impl.cxx

index 4709044ff953a01ebbbd29637eb26aeeb2f6184a..f3ae774e90e0047bb38e50da32487a9635ad2189 100644 (file)
@@ -1551,7 +1551,8 @@ SUPERV::ListOfLinks * Graph_Impl::Links( GraphBase::ComputingNode * theNode ,
             if ( theNode == NULL ||
                  !strcmp( theNode->Name() , aNode->Name() ) ) {
               if ( !anInPort->IsDataStream() ) {
-                if ( theNode || ( toNode->IsEndSwitchNode() && !aNode->IsSwitchNode() ) ) {
+// mkr : PAL7982 : fix situation : after export/import links between Switch and EndSwitch nodes are not displayed              
+               if ( theNode || ( toNode->IsEndSwitchNode() /*&& !aNode->IsSwitchNode()*/ ) ) {
                   if ( anInputParam == NULL ||
                        !strcmp( anInPort->PortName() , anInputParam ) ) {
                     if ( anInPort->IsLoop() || anOutPort->IsLoop() ||