Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8df5094
)
BUG: SMESH::GetGEOMGen() returns GEOM_Engine instead of SHAPERSTUDY
author
eap
<eap@opencascade.com>
Wed, 15 Jan 2020 14:01:31 +0000
(17:01 +0300)
committer
eap
<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
patch
|
blob
|
history
diff --git
a/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx
b/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx
index dc1f6b19e87504aa2f1c0e0ef6cc23e17a80be1d..f52914bd478c06fd1927411dbcb6d1f9fad78bf5 100644
(file)
--- 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 )