From b6d0dd1afb192bbbc6b80a8e671adebb8cf005af Mon Sep 17 00:00:00 2001 From: nds Date: Mon, 28 Dec 2015 15:17:46 +0300 Subject: [PATCH] Point should be initialized on start. --- src/PartSet/PartSet_WidgetPoint2d.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/PartSet/PartSet_WidgetPoint2d.cpp b/src/PartSet/PartSet_WidgetPoint2d.cpp index 9e380d431..5793a383d 100644 --- a/src/PartSet/PartSet_WidgetPoint2d.cpp +++ b/src/PartSet/PartSet_WidgetPoint2d.cpp @@ -277,6 +277,12 @@ void PartSet_WidgetPoint2D::activateCustom() aModes << TopAbs_VERTEX; aModes << TopAbs_EDGE; myWorkshop->activateSubShapesSelection(aModes); + + if (!isEditingMode()) { + FeaturePtr aFeature = feature(); + if (aFeature.get() && aFeature->getKind() == SketchPlugin_Point::ID()) + storeValue(); + } } bool PartSet_WidgetPoint2D::canBeActivatedByMove() -- 2.39.2