]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Extend selection area of points
authorvsv <vitaly.smetannikov@opencascade.com>
Thu, 15 Oct 2015 09:43:35 +0000 (12:43 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Thu, 15 Oct 2015 09:43:35 +0000 (12:43 +0300)
src/SketchPlugin/SketchPlugin_SketchEntity.h

index cffdee549483e335a54c19f171fbaa17ef9a1717..152d680a6c5fea721bbb6eb8fa7d9c6e7d431831 100644 (file)
@@ -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;
   }