From: nds Date: Tue, 6 Sep 2016 11:39:36 +0000 (+0300) Subject: Quick correction to do not build coincidence to central point of reentrant tangent arc X-Git-Tag: V_2.5.0~46 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6a3e148b1f60a0ab3e419ccf969c4920f3b5f979;p=modules%2Fshaper.git Quick correction to do not build coincidence to central point of reentrant tangent arc --- 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())