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:
6e5ef9a
)
0022091: [CEA 760] Regression on test test check_mesh_stability.py
author
eap
<eap@opencascade.com>
Wed, 6 Feb 2013 13:04:18 +0000
(13:04 +0000)
committer
eap
<eap@opencascade.com>
Wed, 6 Feb 2013 13:04:18 +0000
(13:04 +0000)
In Compute(), call aHelper.FixQuadraticElements() only if everything is OK
src/SMESH/SMESH_Gen.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_Gen.cxx
b/src/SMESH/SMESH_Gen.cxx
index a9da55b41e72916cded85d63ad6c7093a6f53585..a9ef17d1eb215f0aa5ebb2679111f65eef81a9bb 100644
(file)
--- a/
src/SMESH/SMESH_Gen.cxx
+++ b/
src/SMESH/SMESH_Gen.cxx
@@
-371,7
+371,8
@@
bool SMESH_Gen::Compute(SMESH_Mesh & aMesh,
// fix quadratic mesh by bending iternal links near concave boundary
if ( aShape.IsSame( aMesh.GetShapeToMesh() ) &&
- !aShapesId ) // not preview
+ !aShapesId && // not preview
+ ret ) // everything is OK
{
SMESH_MesherHelper aHelper( aMesh );
if ( aHelper.IsQuadraticMesh() != SMESH_MesherHelper::LINEAR )