From: vsv Date: Thu, 15 Oct 2015 09:43:35 +0000 (+0300) Subject: Extend selection area of points X-Git-Tag: V_2.0.0_alfa1~90 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e528671e10cbded04cc2bfceaabac30bcfdee5df;p=modules%2Fshaper.git Extend selection area of points --- 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; }