From 16f7c4800b9e907fa345f16c6e4660878b8ab1e3 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 17 Mar 2008 13:58:56 +0000 Subject: [PATCH] PAL19272 CEA patch 4.1.1 / 3.2.9: problem with nodes or corners Remove nodes on vertices at CLEAN event if !algo->NeedDescretBoundary() --- src/SMESH/SMESH_subMesh.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 ); -- 2.30.2