Salome HOME
projects
/
modules
/
superv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2be9b7f
)
Fix for bug IPAL11571 : Execution of "GraphEssai.py" raises error.
author
mkr
<mkr@opencascade.com>
Mon, 20 Mar 2006 13:55:32 +0000
(13:55 +0000)
committer
mkr
<mkr@opencascade.com>
Mon, 20 Mar 2006 13:55:32 +0000
(13:55 +0000)
src/GraphEditor/DataFlowEditor_DataFlow.lxx
patch
|
blob
|
history
diff --git
a/src/GraphEditor/DataFlowEditor_DataFlow.lxx
b/src/GraphEditor/DataFlowEditor_DataFlow.lxx
index 24f63f6f932c1423e893233dab6e184265c81c0f..a48e23c8efd8d784e8ef9b1fc1616f7d5960e429 100644
(file)
--- 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 ) ;