]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
Debug for Gate management of MacroNodes
authorrahuel <rahuel@opencascade.com>
Fri, 14 Oct 2005 11:48:10 +0000 (11:48 +0000)
committerrahuel <rahuel@opencascade.com>
Fri, 14 Oct 2005 11:48:10 +0000 (11:48 +0000)
src/GraphBase/DataFlowBase_Graph.cxx

index eeea99e301bbec6e2b6a3321a90537d43f40abf1..7997b587eda0daaca97dd297530f6e74898ee05e 100644 (file)
@@ -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 {