From: vsv Date: Thu, 22 Jan 2015 08:50:03 +0000 (+0300) Subject: Issue #367: Make moved point equal to selected X-Git-Tag: V_1.0.0~22^2~2^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fc8500ea0a95bcdd8a811b30fc5330d23a2d3618;p=modules%2Fshaper.git Issue #367: Make moved point equal to selected --- diff --git a/src/PartSet/PartSet_WidgetPoint2d.cpp b/src/PartSet/PartSet_WidgetPoint2d.cpp index f9d8fcf6b..21f885c64 100644 --- a/src/PartSet/PartSet_WidgetPoint2d.cpp +++ b/src/PartSet/PartSet_WidgetPoint2d.cpp @@ -263,7 +263,7 @@ void PartSet_WidgetPoint2D::onMouseRelease(ModuleBase_IViewWindow* theWnd, QMous std::shared_ptr aAttrPnt = PartSet_Tools::findAttributePoint(mySketch, aX, anY, aTolerance, aIgnore); if (aAttrPnt.get() != NULL) { - + aFeaturePoint->setValue(aAttrPnt->pnt()); PartSet_Tools::createConstraint(mySketch, aAttrPnt, aFeaturePoint); emit vertexSelected(); }