BUG: SMESH::GetGEOMGen() returns GEOM_Engine instead of SHAPERSTUDY

another place of  SMESH::GetGEOMGen() usage
This commit is contained in:
eap 2020-01-15 17:01:31 +03:00
parent 8df5094ecd
commit 174c7bbfbf

View File

@ -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 )