From: eap Date: Wed, 15 Jan 2020 14:01:31 +0000 (+0300) Subject: BUG: SMESH::GetGEOMGen() returns GEOM_Engine instead of SHAPERSTUDY X-Git-Tag: V9_5_0a1~5^2~16 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=174c7bbfbf1e7ccbdaa09ac065ea8261ea7ff099;hp=8df5094ecdbb94c1f048e09082f81a7c672d77cb BUG: SMESH::GetGEOMGen() returns GEOM_Engine instead of SHAPERSTUDY another place of SMESH::GetGEOMGen() usage --- diff --git a/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx b/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx index dc1f6b19e..f52914bd4 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx @@ -422,7 +422,7 @@ bool StdMeshersGUI_StdHypothesisCreator::checkParams( QString& msg ) const // then the FACE must have only one VERTEX GEOM::GEOM_Object_var face = w->GetObject< GEOM::GEOM_Object >(); - GEOM::GEOM_Gen_var geomGen = SMESH::GetGEOMGen(); + GEOM::GEOM_Gen_var geomGen = SMESH::GetGEOMGen( face ); _PTR(Study) aStudy = SMESH::getStudy(); GEOM::GEOM_IShapesOperations_wrap shapeOp; if ( !geomGen->_is_nil() && aStudy )