From fd939d829fdb29b26152254e733adad38320d1d8 Mon Sep 17 00:00:00 2001 From: nds Date: Mon, 28 Dec 2015 14:01:25 +0300 Subject: [PATCH] Sketch should stop contour in origin point if the contour is closed. Scenario: 1. Start sketch creation in Origin 2. Create contour 3. Finish the contour in Origin. The line creation operation should stop. --- src/PartSet/PartSet_WidgetPoint2d.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PartSet/PartSet_WidgetPoint2d.h b/src/PartSet/PartSet_WidgetPoint2d.h index 6985ffa4e..77e286ab2 100755 --- a/src/PartSet/PartSet_WidgetPoint2d.h +++ b/src/PartSet/PartSet_WidgetPoint2d.h @@ -168,7 +168,7 @@ protected: /// \param theY an Y coordinate of the point /// \return boolean result static bool isOrphanPoint(const FeaturePtr& theFeature, const CompositeFeaturePtr& theSketch, - double theX, double theY); + double theX, double theY, const bool theSearchInResults = false); protected: ModuleBase_IWorkshop* myWorkshop; ///< workshop -- 2.39.2