mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
Do not try to compute sub-meshes if the main shape is already meshed
This commit is contained in:
parent
455afe36e4
commit
35c1f52506
@ -166,6 +166,9 @@ bool SMESH_Gen::Compute(SMESH_Mesh & aMesh, const TopoDS_Shape & aShape)
|
||||
|
||||
SMESH_subMesh *sm = aMesh.GetSubMesh(aShape);
|
||||
|
||||
if ( sm->GetComputeState() == SMESH_subMesh::COMPUTE_OK )
|
||||
return true; // already computed
|
||||
|
||||
// -----------------------------------------------------------------
|
||||
// apply algos that do not require descretized boundaries, starting
|
||||
// from the most complex shapes
|
||||
|
Loading…
Reference in New Issue
Block a user