]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PartSet/PartSet_WidgetSubShapeSelector.cpp
Salome HOME
#2027 Sketcher Trim Feature: 1. preview/selected attributes in trim; 2. avoid includi...
[modules/shaper.git] / src / PartSet / PartSet_WidgetSubShapeSelector.cpp
index b0e41e4f12abdd87875542e32bb014df8ab0210e..24dd2cad09e5bbcf18986b35d5794239c50abad0 100755 (executable)
@@ -20,6 +20,7 @@
 
 #include <GeomAlgoAPI_ShapeTools.h>
 #include <ModelGeomAlgo_Point2D.h>
+#include <ModelGeomAlgo_Shape.h>
 
 #include <ModelGeomAlgo_Point2D.h>
 
@@ -230,7 +231,7 @@ void PartSet_WidgetSubShapeSelector::fillObjectShapes(const ObjectPtr& theObject
   FeaturePtr aFeature = ModelAPI_Feature::feature(theObject);
   // edges on feature
   std::set<ResultPtr> anEdgeResults;
-  ModelAPI_Tools::shapesOfType(aFeature, GeomAPI_Shape::EDGE, anEdgeResults);
+  ModelGeomAlgo_Shape::shapesOfType(aFeature, GeomAPI_Shape::EDGE, anEdgeResults);
   if (!anEdgeResults.empty()) {
     GeomShapePtr aFeatureShape = (*anEdgeResults.begin())->shape();