From e528671e10cbded04cc2bfceaabac30bcfdee5df Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 15 Oct 2015 12:43:35 +0300 Subject: [PATCH] Extend selection area of points --- src/SketchPlugin/SketchPlugin_SketchEntity.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/SketchPlugin/SketchPlugin_SketchEntity.h b/src/SketchPlugin/SketchPlugin_SketchEntity.h index cffdee549..152d680a6 100644 --- a/src/SketchPlugin/SketchPlugin_SketchEntity.h +++ b/src/SketchPlugin/SketchPlugin_SketchEntity.h @@ -98,9 +98,12 @@ class SketchPlugin_SketchEntity : public SketchPlugin_Feature, public GeomAPI_IC isCustomized = thePrs->setLineStyle(0) || isCustomized; } } - //else if (aShapeType == 7) { // otherwise this is a vertex + else if (aShapeType == 7) { // otherwise this is a vertex + // The width value do not have effect on the point presentation. + // It is defined in order to extend selection area of the object. + thePrs->setWidth(12); // thePrs->setPointMarker(1, 1.); // Set point as a '+' symbol - //} + } return isCustomized; } -- 2.39.2