From 8b80b428700af587414f7f5e45a7b65a70b0a4c6 Mon Sep 17 00:00:00 2001 From: Artem Zhidkov Date: Mon, 12 Oct 2020 22:36:45 +0300 Subject: [PATCH] Get rid of compilation warnings. --- src/FeaturesPlugin/doc/FeaturesPlugin.rst | 2 +- src/PartSet/PartSet_WidgetPoint2d.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FeaturesPlugin/doc/FeaturesPlugin.rst b/src/FeaturesPlugin/doc/FeaturesPlugin.rst index fb8e2a344..d3d384b68 100644 --- a/src/FeaturesPlugin/doc/FeaturesPlugin.rst +++ b/src/FeaturesPlugin/doc/FeaturesPlugin.rst @@ -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 diff --git a/src/PartSet/PartSet_WidgetPoint2d.cpp b/src/PartSet/PartSet_WidgetPoint2d.cpp index ab8f1791c..fa0c5ede7 100644 --- a/src/PartSet/PartSet_WidgetPoint2d.cpp +++ b/src/PartSet/PartSet_WidgetPoint2d.cpp @@ -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(); GeomPnt2dPtr aPnt = PartSet_Tools::getPnt2d(aView, aTDShape, mySketch); aX = aPnt->x(); -- 2.39.2