Salome HOME
*** empty log message ***
[modules/superv.git] / src / GraphBase / DataFlowBase_Graph.cxx
index 9c53a825a15fb63428e09697def687027500f4c0..81c0fe9fa2bf0d2bbc51e82915fa1d7c13bd065d 100644 (file)
@@ -1679,7 +1679,7 @@ bool GraphBase::Graph::LinkLoopNodes(bool & NewLink ) {
       }
       for ( j = 0 ; j < aLoopNode->CoupledNode()->GetNodeInPortsSize() ; j++ ) {
         GraphBase::InPort *anInPort = aLoopNode->CoupledNode()->GetChangeNodeInPort( j ) ;
-        if ( !anInPort->IsConnected() ) {
+        if ( !anInPort->IsConnected() && !anInPort->IsGate() ) {
           if ( !AddLink( aLoopNode , aLoopNode->GetChangeNodeOutPort( j ) ,
                          aLoopNode->CoupledNode() , anInPort ) ) {
             cdebug << "GraphBase::Graph::CreateService AddLink ERROR " << aLoopNode->Name() << "( "