From: mkr Date: Fri, 21 Oct 2005 08:50:59 +0000 (+0000) Subject: Fix for bug PAL7982 : Supervisor import/export data flow - created links are not... X-Git-Tag: V2_2_6~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fbe100da5d93564fd9adf04a691184ffee9afcdb;p=modules%2Fsuperv.git Fix for bug PAL7982 : Supervisor import/export data flow - created links are not displayed. --- diff --git a/src/Supervision/Graph_Impl.cxx b/src/Supervision/Graph_Impl.cxx index 4709044..f3ae774 100644 --- a/src/Supervision/Graph_Impl.cxx +++ b/src/Supervision/Graph_Impl.cxx @@ -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() ||