Salome HOME
Simplified calculation of fly out distance and creation of constraints limited only...
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_SymbolPrs.h
index 31fb15e5e63edf96a3a22e26ec18833aeb9805ef..1f8894f174c0da0f48c0300737aeadd8a6775a4f 100644 (file)
@@ -65,7 +65,7 @@ public:
   Standard_EXPORT ModelAPI_Feature* feature() const { return myConstraint; }
 
   /// Return array of points where symbols will be placed
-  Handle(Graphic3d_ArrayOfPoints) pointsArray() const { return myPntArray; }
+  const Handle(Graphic3d_ArrayOfPoints)& pointsArray() const { return myPntArray; }
 
   /// Render of the presentation
   /// \param theWorkspace is OpenGl workspace