From: eap Date: Mon, 17 Mar 2008 13:58:56 +0000 (+0000) Subject: PAL19272 CEA patch 4.1.1 / 3.2.9: problem with nodes or corners X-Git-Tag: V3_2_10~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=16f7c4800b9e907fa345f16c6e4660878b8ab1e3;p=modules%2Fsmesh.git PAL19272 CEA patch 4.1.1 / 3.2.9: problem with nodes or corners Remove nodes on vertices at CLEAN event if !algo->NeedDescretBoundary() --- diff --git a/src/SMESH/SMESH_subMesh.cxx b/src/SMESH/SMESH_subMesh.cxx index f22564a4d..030fe7c36 100644 --- a/src/SMESH/SMESH_subMesh.cxx +++ b/src/SMESH/SMESH_subMesh.cxx @@ -1204,7 +1204,10 @@ bool SMESH_subMesh::ComputeStateEngine(int event) _computeState = READY_TO_COMPUTE; SMESHDS_SubMesh* smDS = GetSubMeshDS(); if ( smDS && smDS->NbNodes() ) { - _computeState = COMPUTE_OK; + if ( event == CLEAN ) // this occures for algo which !NeedDescretBoundary() (PAL19272) + cleanSubMesh( this ); + else + _computeState = COMPUTE_OK; } else if ( event == COMPUTE && !_alwaysComputed ) { const TopoDS_Vertex & V = TopoDS::Vertex( _subShape );