Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dad6db
)
0021375: EDF 1671 SMESH: Dump study of current state
author
eap
<eap@opencascade.com>
Thu, 9 Feb 2012 16:42:07 +0000
(16:42 +0000)
committer
eap
<eap@opencascade.com>
Thu, 9 Feb 2012 16:42:07 +0000
(16:42 +0000)
correctly treat a false algorithm created by _pyMesh::Flush()
src/SMESH_I/SMESH_2smeshpy.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_2smeshpy.cxx
b/src/SMESH_I/SMESH_2smeshpy.cxx
index 868d62fd69a62ff9f942ea3a32a84472d8ecf229..ea012abc4192b61600fb051aa6ec5d36b6788d43 100644
(file)
--- a/
src/SMESH_I/SMESH_2smeshpy.cxx
+++ b/
src/SMESH_I/SMESH_2smeshpy.cxx
@@
-1549,6
+1549,10
@@
void _pyMesh::Flush()
algo = newAlgo;
// set algorithm creation
theGen->SetCommandBefore( newCmd, addCmd );
+ myHypos.push_back( newAlgo );
+ if ( !myLastComputeCmd.IsNull() &&
+ newCmd->GetOrderNb() == myLastComputeCmd->GetOrderNb() + 1)
+ newAlgo->MeshComputed( myLastComputeCmd );
}
else
newCmd->Clear();