Do not try to compute sub-meshes if the main shape is already meshed

This commit is contained in:
eap 2005-02-01 07:37:00 +00:00
parent 455afe36e4
commit 35c1f52506

View File

@ -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