]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL19272 CEA patch 4.1.1 / 3.2.9: problem with nodes or corners
authoreap <eap@opencascade.com>
Mon, 17 Mar 2008 13:58:56 +0000 (13:58 +0000)
committereap <eap@opencascade.com>
Mon, 17 Mar 2008 13:58:56 +0000 (13:58 +0000)
     Remove nodes on vertices at CLEAN event if !algo->NeedDescretBoundary()

src/SMESH/SMESH_subMesh.cxx

index f22564a4d8d539c5f1c20ac15c6f0bd088b7717a..030fe7c3662c85eece9866589cac856512c752eb 100644 (file)
@@ -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 );