From: nds Date: Tue, 30 Dec 2014 13:45:29 +0000 (+0300) Subject: The constraint is moved by the mouse click on it(an attempt to edit value by double... X-Git-Tag: V_0.7.0_rc1^2~1^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d6b11c0c3f199211e054533ba92bdadf5c7a65f4;p=modules%2Fshaper.git The constraint is moved by the mouse click on it(an attempt to edit value by double click) --- 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()));