From: eap Date: Fri, 29 Mar 2013 14:24:07 +0000 (+0000) Subject: 0022182: EDF SMESH: Mesh does not compute after a "Clear Mesh Data" X-Git-Tag: pluginMGCleaner~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b59de0167b45a102ca5055c3912a89a37511f2a9;p=modules%2Fsmesh.git 0022182: EDF SMESH: Mesh does not compute after a "Clear Mesh Data" bool SMESH_subMesh::ComputeStateEngine(int event) { ... + if ( event == CLEAN ) + _alwaysComputed = false; // Unset 'true' set by MergeNodes() (issue 0022182) } --- diff --git a/src/SMESH/SMESH_subMesh.cxx b/src/SMESH/SMESH_subMesh.cxx index f382d0c68..fbd593e8b 100644 --- a/src/SMESH/SMESH_subMesh.cxx +++ b/src/SMESH/SMESH_subMesh.cxx @@ -1348,6 +1348,9 @@ bool SMESH_subMesh::ComputeStateEngine(int event) default:; } + if ( event == CLEAN ) + _alwaysComputed = false; // Unset 'true' set by MergeNodes() (issue 0022182) + if (_subShape.ShapeType() == TopAbs_VERTEX) { _computeState = READY_TO_COMPUTE;