diff --git a/Geo/GModelIO_OCC.cpp b/Geo/GModelIO_OCC.cpp index c67cf69e0003a48385efbd24556afd3efc4ecd0f..27ccb2c16edb13559c12998595cfe26601b646df 100644 --- a/Geo/GModelIO_OCC.cpp +++ b/Geo/GModelIO_OCC.cpp @@ -1072,11 +1072,11 @@ int GModel::applyOCCMeshConstraints(const void *constraints) MeshGmsh_DataMapOfShapeOfVertexConstrain vertexConstraints; c->GetVertexConstrain(vertexConstraints); - _applyOCCMeshConstraintsOnVertices(vertexConstraints); + _applyOCCMeshConstraintsOnVertices(this,vertexConstraints); MeshGmsh_DataMapOfShapeOfEdgeConstrain edgeConstraints; c->GetEdgeConstrain(edgeConstraints); - _applyOCCMeshConstraintsOnEdges(edgeConstraints); + _applyOCCMeshConstraintsOnEdges(this,edgeConstraints); return 1; #else return 0;