mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-22 00:05:38 +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 )
|
if ( !srcMesh )
|
||||||
srcMesh = mesh;
|
srcMesh = mesh;
|
||||||
|
|
||||||
if ( MakeComputed( srcMesh->GetSubMesh( srcShape ), iterationNb + 1 ))
|
if ( MakeComputed( srcMesh->GetSubMesh( srcShape ), iterationNb + 1 ) &&
|
||||||
return gen->Compute( *mesh, sm->GetSubShape() );
|
gen->Compute( *mesh, sm->GetSubShape() ))
|
||||||
|
return sm->IsMeshComputed();
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user