From 397ae52f657e0f4292affe6113cce7a72caf5bda Mon Sep 17 00:00:00 2001 From: rahuel Date: Fri, 14 Oct 2005 11:48:10 +0000 Subject: [PATCH] Debug for Gate management of MacroNodes --- src/GraphBase/DataFlowBase_Graph.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/GraphBase/DataFlowBase_Graph.cxx b/src/GraphBase/DataFlowBase_Graph.cxx index eeea99e..7997b58 100644 --- a/src/GraphBase/DataFlowBase_Graph.cxx +++ b/src/GraphBase/DataFlowBase_Graph.cxx @@ -923,7 +923,13 @@ bool GraphBase::Graph::AddLink( const char* FromNodeName , if ( RetVal ) { if ( fromPort->IsGate() && toPort->IsGate() ) { CORBA::Any aValue ; - aValue <<= (long ) 1 ; +//JR 29.09.2005 Debug for CEA : we do not do that for MacroNodes : + if ( !fromNode->IsMacroNode() ) { + aValue <<= (long ) 1 ; + } + else { + aValue <<= (long ) 0 ; + } fromPort->Value( aValue ) ; } // else { -- 2.39.2