mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 21:00:33 +05:00
clear computation status if Compute invoked with dimension less than previous
This commit is contained in:
parent
666430da4f
commit
4ad5bce0b8
@ -163,7 +163,12 @@ bool SMESH_Gen::Compute(SMESH_Mesh & aMesh,
|
||||
|
||||
// check for preview dimension limitations
|
||||
if ( aShapesId && GetShapeDim( aShType ) > (int)aDim )
|
||||
{
|
||||
// clear compute state to not show previous compute errors
|
||||
// if preview invoked less dimension less than previous
|
||||
smToCompute->ComputeStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE );
|
||||
continue;
|
||||
}
|
||||
|
||||
if (smToCompute->GetComputeState() == SMESH_subMesh::READY_TO_COMPUTE)
|
||||
smToCompute->ComputeStateEngine( SMESH_subMesh::COMPUTE );
|
||||
|
Loading…
Reference in New Issue
Block a user