From: mkr Date: Mon, 20 Mar 2006 13:55:32 +0000 (+0000) Subject: Fix for bug IPAL11571 : Execution of "GraphEssai.py" raises error. X-Git-Tag: OCC_3_2_0a2_TC~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8231f8de49ba40887ae588d8e11e649764cf866e;p=modules%2Fsuperv.git Fix for bug IPAL11571 : Execution of "GraphEssai.py" raises error. --- diff --git a/src/GraphEditor/DataFlowEditor_DataFlow.lxx b/src/GraphEditor/DataFlowEditor_DataFlow.lxx index 24f63f6..a48e23c 100644 --- a/src/GraphEditor/DataFlowEditor_DataFlow.lxx +++ b/src/GraphEditor/DataFlowEditor_DataFlow.lxx @@ -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 ) ;