]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0022182: EDF SMESH: Mesh does not compute after a "Clear Mesh Data"
authoreap <eap@opencascade.com>
Fri, 29 Mar 2013 14:24:07 +0000 (14:24 +0000)
committereap <eap@opencascade.com>
Fri, 29 Mar 2013 14:24:07 +0000 (14:24 +0000)
bool SMESH_subMesh::ComputeStateEngine(int event)
{
...
+  if ( event == CLEAN )
+    _alwaysComputed = false; // Unset 'true' set by MergeNodes() (issue 0022182)
}

src/SMESH/SMESH_subMesh.cxx

index f382d0c682631ea25d2c83c3f0a4cc67979f05cd..fbd593e8bf361e2c754d575f94e4b0c07679fd07 100644 (file)
@@ -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;