Salome HOME
Fix compilation on Linux
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_HVDirection.cpp
index 23f68b7b1768e1b1c3212f47f531aece5cc8363c..b532887d1052901106a2c5a6e376cd1e0f4eb868 100644 (file)
@@ -26,9 +26,7 @@ SketcherPrs_HVDirection::SketcherPrs_HVDirection(ModelAPI_Feature* theConstraint
                                            bool isHorisontal) 
  : SketcherPrs_SymbolPrs(theConstraint, thePlane), myIsHorisontal(isHorisontal)
 {
-  myPntArray = new Graphic3d_ArrayOfPoints(1);
-  myPntArray->AddVertex(0., 0., 0.);
-}  
+}
 
 bool SketcherPrs_HVDirection::IsReadyToDisplay(ModelAPI_Feature* theConstraint,
                                                const std::shared_ptr<GeomAPI_Ax3>&/* thePlane*/)