mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00:34 +05:00
BUG: SMESH::GetGEOMGen() returns GEOM_Engine instead of SHAPERSTUDY
another place of SMESH::GetGEOMGen() usage
This commit is contained in:
parent
8df5094ecd
commit
174c7bbfbf
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user