From b27159e4a930be8b319bce6144ff63459150391c Mon Sep 17 00:00:00 2001 From: rahuel Date: Tue, 6 Sep 2005 08:29:19 +0000 Subject: [PATCH] The variable OutGate was not created in LoopNodes in python generated scripts --- src/GraphBase/DataFlowBase_ComputingNode.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/GraphBase/DataFlowBase_ComputingNode.cxx b/src/GraphBase/DataFlowBase_ComputingNode.cxx index 54139b0..f5203ff 100644 --- a/src/GraphBase/DataFlowBase_ComputingNode.cxx +++ b/src/GraphBase/DataFlowBase_ComputingNode.cxx @@ -1704,6 +1704,11 @@ bool GraphBase::ComputingNode::SavePY( ostream &f , const char * aGraphName , f << " " << "O" << Name() << anOutPort->PortName() << ".SetNumberOfValues( " << aNumberOfValues << " )" << endl ; } +//JR 02.09.2005 : GetOutPort for Gates was missing + else if ( anOutPort->IsGate() ) { + f << " " << "O" << Name() << anOutPort->PortName() << " = " + << Name() << ".GetOutPort( '" << anOutPort->PortName() << "' )" << endl ; + } } for ( i = 0 ; i < aCoupledNode->GetNodeInPortsSize() ; i++ ) { const GraphBase::InPort * anInPort = aCoupledNode->GetNodeInPort(i) ; -- 2.39.2