From: vsv Date: Wed, 21 Jan 2015 13:34:49 +0000 (+0300) Subject: Increase tolerance for sketch contour closing X-Git-Tag: V_1.0.0~30^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=30b9724968e292c8c498ded638db0564d217051a;p=modules%2Fshaper.git Increase tolerance for sketch contour closing --- diff --git a/src/PartSet/PartSet_WidgetPoint2d.cpp b/src/PartSet/PartSet_WidgetPoint2d.cpp index 6af2c5094..f9d8fcf6b 100644 --- a/src/PartSet/PartSet_WidgetPoint2d.cpp +++ b/src/PartSet/PartSet_WidgetPoint2d.cpp @@ -259,7 +259,7 @@ void PartSet_WidgetPoint2D::onMouseRelease(ModuleBase_IViewWindow* theWnd, QMous QList aIgnore; aIgnore.append(feature()); - double aTolerance = aView->Convert(4); + double aTolerance = aView->Convert(7); std::shared_ptr aAttrPnt = PartSet_Tools::findAttributePoint(mySketch, aX, anY, aTolerance, aIgnore); if (aAttrPnt.get() != NULL) {