From 20062d400a211538bc00d94bc51dbba25a7e9bb9 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 10 May 2011 13:58:35 +0000 Subject: [PATCH] 0021238: EDF 1817 SMESH: GHS3D on quadratic meshes In importGMFMesh(): + theMesh.GetMeshDS()->Modified(); --- src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx b/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx index 6e438fe..7001def 100644 --- a/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx +++ b/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx @@ -4063,9 +4063,11 @@ bool GHS3DPlugin_GHS3D::importGMFMesh(const char* theGMFFileName, SMESH_Mesh& th // TopoDS_Shape theShape = theMesh.GetShapeToMesh(); vector dummyNodeVector; map dummyNodeMap; - return readGMFFile(theGMFFileName, + bool ok = readGMFFile(theGMFFileName, #ifdef WITH_SMESH_CANCEL_COMPUTE - this, + this, #endif - helper, theMesh.GetShapeToMesh(), dummyNodeVector, dummyNodeMap); + helper, theMesh.GetShapeToMesh(), dummyNodeVector, dummyNodeMap); + theMesh.GetMeshDS()->Modified(); + return ok; } -- 2.39.2