From b59de0167b45a102ca5055c3912a89a37511f2a9 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 29 Mar 2013 14:24:07 +0000 Subject: [PATCH] 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) } --- src/SMESH/SMESH_subMesh.cxx | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.2