Salome HOME
*** empty log message ***
[modules/superv.git] / src / GraphExecutor / DataFlowExecutor_OutNode.cxx
index 32f4f7290e8a7912489b282085f123f0e68f2608..8f0ddefa29fa03191e77838419fa3bcab2b2e40f 100644 (file)
@@ -453,11 +453,14 @@ bool GraphExecutor::OutNode::Valid() {
     cdebug << "This DataFlow has invalid type(s)." << endl ;
     return false ;
   }
-
-  if ( !Graph()->Sort() ) {
+  int SubStreamGraphsNumber = 0 ;
+  if ( !Graph()->Sort( SubStreamGraphsNumber ) ) {
     cdebug << "This DataFlow is not valid." << endl ;
     return false ;
   }
+  if ( Graph()->IsDataStreamNode() ) {
+    StreamGraph()->SubStreamGraphsNumber( SubStreamGraphsNumber ) ;
+  }
 
 //  CreateService() ;