Salome HOME
Join modifications from branch OCC_debug_for_3_2_0b1
[modules/superv.git] / src / GraphEditor / DataFlowEditor_DataFlow.lxx
index 24f63f6f932c1423e893233dab6e184265c81c0f..0dde21988d143239f34f18def77ca38e99fb7d6c 100644 (file)
@@ -378,7 +378,7 @@ inline bool GraphEditor::DataFlow::GetLinkCoord(
                          const char* FromServiceParameterName ,
                          const char* ToNodeName ,
                          const char* ToServiceParameterName ,
-                         const int index , long &X , long &Y ) {
+                         const int index , CORBA::Long &X , CORBA::Long &Y ) {
   return GraphEditor::OutNode::GetLinkCoord( FromNodeName ,
                                              FromServiceParameterName ,
                                              ToNodeName ,
@@ -489,7 +489,10 @@ inline long GraphEditor::DataFlow::LevelMax() {
 inline SUPERV::ListOfStrings * GraphEditor::DataFlow::LevelNodes(long aLevel ) {
 //  if ( !IsValid( false ) ) {
 //  if ( !IsExecutable() ) {
-  if ( !IsValid() ) { // mkr : IPAL9974
+  // mkr : IPAL11571 -->
+  int SubStreamGraphsNumber = 0 ;  
+  if ( !IsValid() || !Graph()->Sort( SubStreamGraphsNumber ) ) { // mkr : IPAL9974
+    // mkr : IPAL11571 <--
     return ((SUPERV::ListOfStrings * ) NULL ) ;
   }
   return Graph()->LevelNodes( aLevel ) ;