]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Increase tolerance for sketch contour closing
authorvsv <vitaly.smetannikov@opencascade.com>
Wed, 21 Jan 2015 13:34:49 +0000 (16:34 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Wed, 21 Jan 2015 13:34:49 +0000 (16:34 +0300)
src/PartSet/PartSet_WidgetPoint2d.cpp

index 6af2c509460438b634cfaac77d02a5bf1c908bf5..f9d8fcf6b059d19a28ac5399288d7aac30bb5ec9 100644 (file)
@@ -259,7 +259,7 @@ void PartSet_WidgetPoint2D::onMouseRelease(ModuleBase_IViewWindow* theWnd, QMous
   QList<FeaturePtr> aIgnore;
   aIgnore.append(feature());
 
-  double aTolerance = aView->Convert(4);
+  double aTolerance = aView->Convert(7);
   std::shared_ptr<GeomDataAPI_Point2D> aAttrPnt = 
     PartSet_Tools::findAttributePoint(mySketch, aX, anY, aTolerance, aIgnore);
   if (aAttrPnt.get() != NULL) {