]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Get rid of compilation warnings.
authorArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Mon, 12 Oct 2020 19:36:45 +0000 (22:36 +0300)
committerArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Mon, 12 Oct 2020 19:36:45 +0000 (22:36 +0300)
src/FeaturesPlugin/doc/FeaturesPlugin.rst
src/PartSet/PartSet_WidgetPoint2d.cpp

index fb8e2a344b707376d72df48edb52804796a2e7bf..d3d384b68dfcb98c8a447aa83a8c018a6686a89c 100644 (file)
@@ -18,8 +18,8 @@ Features plug-in provides a set of common topological operations. It implements
    extrusionCutFeature.rst
    extrusionFeature.rst
    extrusionFuseFeature.rst
-   fillet1dFeature.rst
    filletFeature.rst
+   fillet1dFeature.rst
    fuseFeatureFaces.rst
    importResultFeature.rst
    linearCopyFeature.rst
index ab8f1791cbc4b4604acfc189621970fa94a3a2fe..fa0c5ede783da598aeeda0f8c80e53dc5889d857 100644 (file)
@@ -561,7 +561,7 @@ void PartSet_WidgetPoint2D::mouseReleased(ModuleBase_IViewWindow* theWindow, QMo
   bool aHasPoint = false;
   if (aFirstValue.get()) {
     GeomShapePtr aShape = aFirstValue->shape();
-    if (aShape->shapeType() == TopAbs_VERTEX) {
+    if (aShape->shapeType() == GeomAPI_Shape::VERTEX) {
       const TopoDS_Shape& aTDShape = aShape->impl<TopoDS_Shape>();
       GeomPnt2dPtr aPnt = PartSet_Tools::getPnt2d(aView, aTDShape, mySketch);
       aX = aPnt->x();