]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
BUG: SMESH::GetGEOMGen() returns GEOM_Engine instead of SHAPERSTUDY
authoreap <eap@opencascade.com>
Wed, 15 Jan 2020 14:01:31 +0000 (17:01 +0300)
committereap <eap@opencascade.com>
Wed, 15 Jan 2020 14:01:31 +0000 (17:01 +0300)
another place of  SMESH::GetGEOMGen() usage

src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx

index dc1f6b19e87504aa2f1c0e0ef6cc23e17a80be1d..f52914bd478c06fd1927411dbcb6d1f9fad78bf5 100644 (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 )