mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-08 07:40:34 +05:00
PAL17694 (New Tool About Hexahedral Meshing)
Do not clean submesh before algo->Compute()
This commit is contained in:
parent
575674a009
commit
ed128f5447
@ -1003,6 +1003,7 @@ SMESH_Hypothesis::Hypothesis_Status
|
|||||||
|
|
||||||
if ( stateChange && oldAlgoState == HYP_OK ) { // hyp becomes KO
|
if ( stateChange && oldAlgoState == HYP_OK ) { // hyp becomes KO
|
||||||
DeleteOwnListeners();
|
DeleteOwnListeners();
|
||||||
|
SetIsAlwaysComputed( false );
|
||||||
if (_subShape.ShapeType() == TopAbs_VERTEX ) {
|
if (_subShape.ShapeType() == TopAbs_VERTEX ) {
|
||||||
// restore default states
|
// restore default states
|
||||||
_algoState = HYP_OK;
|
_algoState = HYP_OK;
|
||||||
@ -1323,8 +1324,8 @@ bool SMESH_subMesh::ComputeStateEngine(int event)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// compute
|
// compute
|
||||||
CleanDependants();
|
// CleanDependants(); for "UseExisting_*D" algos
|
||||||
RemoveSubMeshElementsAndNodes();
|
// RemoveSubMeshElementsAndNodes();
|
||||||
ret = false;
|
ret = false;
|
||||||
_computeState = FAILED_TO_COMPUTE;
|
_computeState = FAILED_TO_COMPUTE;
|
||||||
_computeError = SMESH_ComputeError::New(COMPERR_OK,"",algo);
|
_computeError = SMESH_ComputeError::New(COMPERR_OK,"",algo);
|
||||||
|
Loading…
Reference in New Issue
Block a user