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:
ade1823
)
PAL13330( When mesh generation does not success, trace where )
author
eap
<eap@opencascade.com>
Tue, 10 Apr 2007 15:42:22 +0000
(15:42 +0000)
committer
eap
<eap@opencascade.com>
Tue, 10 Apr 2007 15:42:22 +0000
(15:42 +0000)
- SMESH::ModifiedMesh(aMeshSObj, true, nbNodes == 0);
+ SMESH::ModifiedMesh(aMeshSObj, !computeFailed, nbNodes == 0);
src/SMESHGUI/SMESHGUI_ComputeDlg.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx
b/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx
index 223fa3067e67ac2e8280057f824b702e7b048314..8c1c0299ce9aa3822d0b896100ba8ba9f463e663 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_ComputeDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_ComputeDlg.cxx
@@
-575,7
+575,7
@@
void SMESHGUI_ComputeOp::startOperation()
nbFaces = aMesh->NbFaces();
nbVolums = aMesh->NbVolumes();
_PTR(SObject) aMeshSObj = SMESH::FindSObject(aMesh);
- SMESH::ModifiedMesh(aMeshSObj,
true
, nbNodes == 0);
+ SMESH::ModifiedMesh(aMeshSObj,
!computeFailed
, nbNodes == 0);
}
catch(const SALOME::SALOME_Exception & S_ex){
SalomeApp_Tools::QtCatchCorbaException(S_ex);