]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #367: Make moved point equal to selected
authorvsv <vitaly.smetannikov@opencascade.com>
Thu, 22 Jan 2015 08:50:03 +0000 (11:50 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Thu, 22 Jan 2015 08:50:03 +0000 (11:50 +0300)
src/PartSet/PartSet_WidgetPoint2d.cpp

index f9d8fcf6b059d19a28ac5399288d7aac30bb5ec9..21f885c64ee4dadac4f2aefc45fca1368230f1a2 100644 (file)
@@ -263,7 +263,7 @@ void PartSet_WidgetPoint2D::onMouseRelease(ModuleBase_IViewWindow* theWnd, QMous
   std::shared_ptr<GeomDataAPI_Point2D> 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();
   }