From ed128f544722f15ed414e2da0aba2a001996cf60 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 15 Nov 2007 14:33:11 +0000 Subject: [PATCH] PAL17694 (New Tool About Hexahedral Meshing) Do not clean submesh before algo->Compute() --- src/SMESH/SMESH_subMesh.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/SMESH/SMESH_subMesh.cxx b/src/SMESH/SMESH_subMesh.cxx index 67aeddf53..bbb5fa96a 100644 --- a/src/SMESH/SMESH_subMesh.cxx +++ b/src/SMESH/SMESH_subMesh.cxx @@ -1003,6 +1003,7 @@ SMESH_Hypothesis::Hypothesis_Status if ( stateChange && oldAlgoState == HYP_OK ) { // hyp becomes KO DeleteOwnListeners(); + SetIsAlwaysComputed( false ); if (_subShape.ShapeType() == TopAbs_VERTEX ) { // restore default states _algoState = HYP_OK; @@ -1323,8 +1324,8 @@ bool SMESH_subMesh::ComputeStateEngine(int event) } } // compute - CleanDependants(); - RemoveSubMeshElementsAndNodes(); +// CleanDependants(); for "UseExisting_*D" algos +// RemoveSubMeshElementsAndNodes(); ret = false; _computeState = FAILED_TO_COMPUTE; _computeError = SMESH_ComputeError::New(COMPERR_OK,"",algo); -- 2.30.2