Salome HOME
GatePorts in Switch JR_ASV_2_1_0_deb_with_KERNEL_Head
authorrahuel <rahuel@opencascade.com>
Wed, 16 Feb 2005 14:34:32 +0000 (14:34 +0000)
committerrahuel <rahuel@opencascade.com>
Wed, 16 Feb 2005 14:34:32 +0000 (14:34 +0000)
src/GraphExecutor/DataFlowExecutor_InNodeThreads.cxx

index 82b66fee41ce56c763f833aa187c76fa87995bfc..789ea724d6fd684907c8aba4cbe30cf6fcdf3a71 100644 (file)
@@ -3253,8 +3253,10 @@ bool GraphExecutor::InNode::OutParametersSet( bool Err ,
         for ( i = 0 ; i < GetNodeOutPortsSize() ; i++ ) {
           GraphBase::InPort * anInPort ;
           anInPort = CoupledNode()->GetChangeInPort( GetNodeOutPort( i )->PortName() ) ;
-//JR 09.02.2005 Debug : Change except if it is the DefaultPort
-          if ( anInPort && !anInPort->IsGate() ) {
+//JR 16.02.2005 Debug : Change InPorts of EndSwitchNode that have the same name as an OutPort of
+// the SwitchNode even if it is the DefaultPort : GraphSwitchCheckDefault1.xml
+//          if ( anInPort && !anInPort->IsGate() ) {
+          if ( anInPort && anInPort->GetOutPort() ) {
             cdebug << "OutParametersSet " << Name() << " " << anInPort->NodeName() << "( "
                    << anInPort->PortName() << " ) linked from " << anInPort->GetOutPort()->NodeName()
                    << "( " << anInPort->GetOutPort()->PortName() << " ) CHANGED TO linked from "