Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge from V6_main 11/02/2013
[modules/smesh.git]
/
src
/
PluginUtils
/
GeomSelectionTools.cxx
diff --git
a/src/PluginUtils/GeomSelectionTools.cxx
b/src/PluginUtils/GeomSelectionTools.cxx
index 07c7f0830a68a915f99f32231d0b6d66b87049c0..cfb841f5cca859b0e513c262743270af4d009f7d 100644
(file)
--- a/
src/PluginUtils/GeomSelectionTools.cxx
+++ b/
src/PluginUtils/GeomSelectionTools.cxx
@@
-33,6
+33,7
@@
#include <SMESHGUI_Utils.h>
#include <boost/shared_ptr.hpp>
#include <GEOMImpl_Types.hxx>
#include <SMESHGUI_Utils.h>
#include <boost/shared_ptr.hpp>
#include <GEOMImpl_Types.hxx>
+#include <GEOM_wrap.hxx>
#include <TopoDS.hxx>
#include <BRep_Tool.hxx>
#include <TopoDS.hxx>
#include <BRep_Tool.hxx>
@@
-225,7
+226,8
@@
TopAbs_ShapeEnum GeomSelectionTools::entryToShapeType(std::string entry){
// if the Geom Object is a group
if (aShape->GetType() == GEOM_GROUP){
// MESSAGE("It's a group");
// if the Geom Object is a group
if (aShape->GetType() == GEOM_GROUP){
// MESSAGE("It's a group");
- GEOM::GEOM_IGroupOperations_var aGroupOp = _geomEngine->GetIGroupOperations(myStudy->StudyId());
+ GEOM::GEOM_IGroupOperations_wrap aGroupOp =
+ _geomEngine->GetIGroupOperations(myStudy->StudyId());
ShapeType= (TopAbs_ShapeEnum)aGroupOp->GetType(aShape);
}
// if not
ShapeType= (TopAbs_ShapeEnum)aGroupOp->GetType(aShape);
}
// if not