Salome HOME
Fix SketcherSetEqual.test_length_equality
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Point.cpp
index b31b3b55217d0b0bd94b538207392dc58d90ba14..c164e44a40225855d89111b0ed14b17be1a45e2e 100644 (file)
@@ -45,3 +45,13 @@ void ConstructionPlugin_Point::execute()
   aConstr->setShape(GeomAlgoAPI_PointBuilder::point(aPnt));
   setResult(aConstr);
 }
+
+bool ConstructionPlugin_Point::customisePresentation(ResultPtr theResult, 
+                                                     AISObjectPtr thePrs,
+                               std::shared_ptr<GeomAPI_ICustomPrs> theDefaultPrs)
+{
+  bool isCustomized = theDefaultPrs.get() != NULL &&
+                      theDefaultPrs->customisePresentation(theResult, thePrs, theDefaultPrs);
+  //thePrs->setPointMarker(1, 1.); // Set point as a '+' symbol
+  return true;
+}