From: eap Date: Fri, 5 Feb 2016 13:51:01 +0000 (+0300) Subject: 53061: "Clear mesh data" removes too many (if !HasShapeToMesh()) X-Git-Tag: V8_0_0rc1^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=82a86d922ea23de26a081646419639237faeb1b5;p=modules%2Fsmesh.git 53061: "Clear mesh data" removes too many (if !HasShapeToMesh()) --- diff --git a/doc/salome/gui/SMESH/input/about_meshes.doc b/doc/salome/gui/SMESH/input/about_meshes.doc index 9d92487c5..621a47e99 100644 --- a/doc/salome/gui/SMESH/input/about_meshes.doc +++ b/doc/salome/gui/SMESH/input/about_meshes.doc @@ -110,9 +110,10 @@ SALOME supports elements of second order, without a central node (quadratic triangle, quadrangle, polygon, tetrahedron, hexahedron, pentahedron and pyramid) and with central nodes (bi-quadratic triangle and quadrangle and tri-quadratic hexahedron).
-Quadratic mesh can be obtained in two ways: +Quadratic mesh can be obtained in three ways: - Using a global \ref quadratic_mesh_anchor "Quadratic Mesh" hypothesis. (Elements with the central node are not generated in this way). - Using \ref convert_to_from_quadratic_mesh_page operation. - +- Using an appropriate option of some meshing algorithms, which +generate elements of several dimensions starting from mesh segments. */ diff --git a/src/SMESH_I/SMESH_Mesh_i.cxx b/src/SMESH_I/SMESH_Mesh_i.cxx index 728a75ddb..b025573b9 100644 --- a/src/SMESH_I/SMESH_Mesh_i.cxx +++ b/src/SMESH_I/SMESH_Mesh_i.cxx @@ -293,7 +293,7 @@ void SMESH_Mesh_i::Clear() throw (SALOME::SALOME_Exception) { Unexpect aCatch(SALOME_SalomeException); if ( _preMeshInfo ) - _preMeshInfo->ForgetAllData(); + _preMeshInfo->ForgetOrLoad(); // load in case if !HasShapeToMesh() try { _impl->Clear();