From: rahuel Date: Wed, 7 Sep 2005 07:03:28 +0000 (+0000) Subject: An OutPort ExternConnected must be [re]linked at "CreateService" time X-Git-Tag: V3_1_0a1~15 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsuperv.git;a=commitdiff_plain;h=744e8cc667340ead335d59134e01e7c691abf350 An OutPort ExternConnected must be [re]linked at "CreateService" time --- diff --git a/src/GraphBase/DataFlowBase_Graph.cxx b/src/GraphBase/DataFlowBase_Graph.cxx index a231ec8..5ffde09 100644 --- a/src/GraphBase/DataFlowBase_Graph.cxx +++ b/src/GraphBase/DataFlowBase_Graph.cxx @@ -2213,8 +2213,9 @@ bool GraphBase::Graph::CreateService() { << ") " << anOutPort->PortStatus() << " :" << endl ; //JR PAL8914 : OutPorts of LoopNodes may not be in the Service of the Graph // if ( !anOutPort->IsGate() && anOutPort->IsNotConnected() && !aToNode->IsGOTONode() ) { - if ( !anOutPort->IsGate() && anOutPort->IsNotConnected() && !aToNode->IsGOTONode() && - !aToNode->IsLoopNode() ) { + if ( !anOutPort->IsGate() && !aToNode->IsGOTONode() && !aToNode->IsLoopNode() && +//JR Debug : 06.09.2005 : recreate that link if the OutPort is ExternConnected !!!... + ( anOutPort->IsNotConnected() || anOutPort->IsExternConnected() ) ) { GraphBase::InPort *anInPort = GetChangeOutDataNodePort( anOutPort->NodePortName() ) ; if ( !AddLink( aToNode , anOutPort , this , anInPort ) ) { cdebug << " --> " << Name() << "(" << anInPort->PortName()