From: eap Date: Thu, 15 Nov 2007 14:32:54 +0000 (+0000) Subject: PAL17694 (New Tool About Hexahedral Meshing) X-Git-Tag: V3_2_9rc1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1fb246e7633ba50f6f4d40858b46a45b0d36dba2;p=modules%2Fsmesh.git PAL17694 (New Tool About Hexahedral Meshing) Do not clean submesh before algo->Compute() --- diff --git a/src/SMESH/SMESH_subMesh.cxx b/src/SMESH/SMESH_subMesh.cxx index 2c161abdf..aad80fa1d 100644 --- a/src/SMESH/SMESH_subMesh.cxx +++ b/src/SMESH/SMESH_subMesh.cxx @@ -984,6 +984,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; @@ -1304,8 +1305,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);