]> SALOME platform Git repositories - plugins/hybridplugin.git/commitdiff
Salome HOME
0021238: EDF 1817 SMESH: GHS3D on quadratic meshes
authoreap <eap@opencascade.com>
Tue, 10 May 2011 13:58:35 +0000 (13:58 +0000)
committereap <eap@opencascade.com>
Tue, 10 May 2011 13:58:35 +0000 (13:58 +0000)
  In importGMFMesh():

+  theMesh.GetMeshDS()->Modified();

src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx

index 6e438fe43c75f95d6ab84f18024237aea7e15207..7001def575d336516015b4a5f241c844ec2635b7 100644 (file)
@@ -4063,9 +4063,11 @@ bool GHS3DPlugin_GHS3D::importGMFMesh(const char* theGMFFileName, SMESH_Mesh& th
 //   TopoDS_Shape theShape = theMesh.GetShapeToMesh();
   vector <const SMDS_MeshNode*> dummyNodeVector;
   map<const SMDS_MeshNode*,int> 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;
 }