From 6a3e148b1f60a0ab3e419ccf969c4920f3b5f979 Mon Sep 17 00:00:00 2001 From: nds Date: Tue, 6 Sep 2016 14:39:36 +0300 Subject: [PATCH] Quick correction to do not build coincidence to central point of reentrant tangent arc --- src/PartSet/PartSet_SketcherReetntrantMgr.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/PartSet/PartSet_SketcherReetntrantMgr.cpp b/src/PartSet/PartSet_SketcherReetntrantMgr.cpp index 8fdf8380f..517e961c6 100755 --- a/src/PartSet/PartSet_SketcherReetntrantMgr.cpp +++ b/src/PartSet/PartSet_SketcherReetntrantMgr.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include #include @@ -226,7 +227,7 @@ bool PartSet_SketcherReetntrantMgr::processMouseReleased(ModuleBase_IViewWindow* PartSet_WidgetPoint2D* aPoint2DWdg = dynamic_cast(module()->activeWidget()); ModuleBase_ModelWidget* aFirstWidget = aPanel->findFirstAcceptingValueWidget(); if (aPoint2DWdg && aPoint2DWdg == aFirstWidget) { - if (!aPreSelected.empty()) + if (!aPreSelected.empty() && myPreviousFeature->getKind() == SketchPlugin_Point::ID()) aPoint2DWdg->setPreSelection(aPreSelected.front()); aPoint2DWdg->mouseReleased(theWnd, theEvent); if (!aPreSelected.empty()) -- 2.39.2