From d6b11c0c3f199211e054533ba92bdadf5c7a65f4 Mon Sep 17 00:00:00 2001 From: nds Date: Tue, 30 Dec 2014 16:45:29 +0300 Subject: [PATCH] The constraint is moved by the mouse click on it(an attempt to edit value by double click) --- src/PartSet/PartSet_WidgetPoint2d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PartSet/PartSet_WidgetPoint2d.cpp b/src/PartSet/PartSet_WidgetPoint2d.cpp index 5baa133e7..6af2c5094 100644 --- a/src/PartSet/PartSet_WidgetPoint2d.cpp +++ b/src/PartSet/PartSet_WidgetPoint2d.cpp @@ -252,7 +252,7 @@ void PartSet_WidgetPoint2D::onMouseRelease(ModuleBase_IViewWindow* theWnd, QMous double aX, anY; Handle(V3d_View) aView = theWnd->v3dView(); PartSet_Tools::convertTo2D(aPoint, mySketch, aView, aX, anY); - setPoint(aX, anY); + //setPoint(aX, anY); std::shared_ptr aFeaturePoint = std::dynamic_pointer_cast< GeomDataAPI_Point2D>(feature()->data()->attribute(attributeID())); -- 2.39.2