mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-21 01:49:41 +05:00
0021825: Error in the example of "Projection Algorithms" in the user's guide
In MakeComputed(), check if gen->Compute() is really OK
This commit is contained in:
parent
c9a4fdb5fc
commit
02c33dab50
@ -2004,8 +2004,9 @@ bool StdMeshers_ProjectionUtils::MakeComputed(SMESH_subMesh * sm, const int iter
|
||||
if ( !srcMesh )
|
||||
srcMesh = mesh;
|
||||
|
||||
if ( MakeComputed( srcMesh->GetSubMesh( srcShape ), iterationNb + 1 ))
|
||||
return gen->Compute( *mesh, sm->GetSubShape() );
|
||||
if ( MakeComputed( srcMesh->GetSubMesh( srcShape ), iterationNb + 1 ) &&
|
||||
gen->Compute( *mesh, sm->GetSubShape() ))
|
||||
return sm->IsMeshComputed();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user