Salome HOME
Improve rigid constraint presentation
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_HVDirection.cpp
index 0ad7c1f15db5c9b9c888e2a6dee2b3b5fd4ed294..13b3def6ed7db543ecdbc8f6a1c9c6037ef07799 100644 (file)
@@ -57,7 +57,7 @@ void SketcherPrs_HVDirection::Compute(const Handle(PrsMgr_PresentationManager3d)
   prepareAspect();
 
   ObjectPtr aObj1 = SketcherPrs_Tools::getResult(myConstraint, SketchPlugin_Constraint::ENTITY_A());
-  std::shared_ptr<GeomAPI_Shape> aLine1 = SketcherPrs_Tools::getLine(aObj1);
+  std::shared_ptr<GeomAPI_Shape> aLine1 = SketcherPrs_Tools::getShape(aObj1);
   if (aLine1.get() == NULL)
     return;