]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
regression SMESH_TEST/Grids/smesh/bugs/P0
authoreap <eap@opencascade.com>
Tue, 22 Nov 2011 09:57:35 +0000 (09:57 +0000)
committereap <eap@opencascade.com>
Tue, 22 Nov 2011 09:57:35 +0000 (09:57 +0000)
   For vertices w/o nodes, call sm->SetIsAlwaysComputed( true )

src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx

index 070ce9f2ccf9d2ef91e4013dd49257b035091d59..1bb9ecfb5b82bcc41989d4a50eeb30d7752b398c 100644 (file)
@@ -1781,6 +1781,10 @@ bool BLSURFPlugin_BLSURF::Compute(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape)
     if ( BRep_Tool::Curve(TopoDS::Edge( emap( i )), loc, f,l).IsNull() )
       if ( SMESH_subMesh* sm = aMesh.GetSubMeshContaining( emap( i )))
         sm->SetIsAlwaysComputed( true );
+  for (int i = 1; i <= pmap.Extent(); i++)
+      if ( SMESH_subMesh* sm = aMesh.GetSubMeshContaining( pmap( i )))
+        if ( !sm->IsMeshComputed() )
+          sm->SetIsAlwaysComputed( true );
 
   delete [] nodes;