From: rahuel Date: Fri, 14 Oct 2005 11:48:10 +0000 (+0000) Subject: Debug for Gate management of MacroNodes X-Git-Tag: V2_2_6~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=397ae52f657e0f4292affe6113cce7a72caf5bda;p=modules%2Fsuperv.git Debug for Gate management of MacroNodes --- 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 {