From: vsv Date: Mon, 9 Dec 2019 13:14:14 +0000 (+0300) Subject: Modification according to changes in SMESH_Gen X-Git-Tag: V9_5_0a1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c10a0b7c0795ff6e8446d02d4150725b80d95c5a;p=plugins%2Fhybridplugin.git Modification according to changes in SMESH_Gen --- diff --git a/src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis_i.cxx b/src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis_i.cxx index 851bb46..af0266c 100644 --- a/src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis_i.cxx +++ b/src/HYBRIDPlugin/HYBRIDPlugin_Hypothesis_i.cxx @@ -1127,7 +1127,7 @@ bool HYBRIDPlugin_Hypothesis_i::SetEnforcedVertexGeom(GEOM::GEOM_Object_ptr theV std::string theVertexEntry = theVertex->GetStudyEntry(); CORBA::Double x = 0, y = 0, z = 0; CORBA::Boolean isCompound = false; - GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine(); + GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theVertex ); if (theVertexEntry.empty()) { std::string aName; if (theVertex->GetShapeType() == GEOM::VERTEX) { @@ -1170,7 +1170,7 @@ bool HYBRIDPlugin_Hypothesis_i::SetEnforcedVertexGeomWithGroup(GEOM::GEOM_Object std::string theVertexEntry = theVertex->GetStudyEntry(); CORBA::Double x = 0, y = 0, z = 0; CORBA::Boolean isCompound = false; - GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine(); + GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theVertex ); if (theVertexEntry.empty()) { std::string aName; if (theVertex->GetShapeType() == GEOM::VERTEX) { @@ -1317,7 +1317,7 @@ CORBA::Double HYBRIDPlugin_Hypothesis_i::GetEnforcedVertexGeom(GEOM::GEOM_Object std::string theVertexEntry = theVertex->GetStudyEntry(); if (theVertexEntry.empty()) { - GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine(); + GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theVertex ); std::string aName; if (theVertex->GetShapeType() == GEOM::VERTEX) aName = "Vertex_"; @@ -1431,7 +1431,7 @@ bool HYBRIDPlugin_Hypothesis_i::RemoveEnforcedVertexGeom(GEOM::GEOM_Object_ptr t std::string theVertexEntry = theVertex->GetStudyEntry(); if (theVertexEntry.empty()) { - GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine(); + GEOM::GEOM_Gen_ptr geomGen = SMESH_Gen_i::GetGeomEngine( theVertex ); std::string aName; if (theVertex->GetShapeType() == GEOM::VERTEX) aName = "Vertex_";