X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketcherPrs%2FSketcherPrs_HVDirection.cpp;h=e7bdfdda7c5fba61a891484b0c9b10144e983501;hb=a5746a7f8fd8bcd555fb16f98e312c86ca1210da;hp=b1459205ea1e311efa11dfb672cd284e4a41125c;hpb=e9d4bd92e29ba18fc93a074b3bd3fd0972ec8992;p=modules%2Fshaper.git diff --git a/src/SketcherPrs/SketcherPrs_HVDirection.cpp b/src/SketcherPrs/SketcherPrs_HVDirection.cpp index b1459205e..e7bdfdda7 100644 --- a/src/SketcherPrs/SketcherPrs_HVDirection.cpp +++ b/src/SketcherPrs/SketcherPrs_HVDirection.cpp @@ -35,6 +35,7 @@ bool SketcherPrs_HVDirection::updatePoints(double theStep) const if (SketcherPrs_Tools::getShape(aObj).get() == NULL) return false; + // Set point of the symbol SketcherPrs_PositionMgr* aMgr = SketcherPrs_PositionMgr::get(); gp_Pnt aP1 = aMgr->getPosition(aObj, this, theStep); myPntArray->SetVertice(1, aP1); @@ -45,6 +46,7 @@ void SketcherPrs_HVDirection::drawLines(const Handle(Prs3d_Presentation)& thePrs { Handle(Graphic3d_Group) aGroup = Prs3d_Root::NewGroup(thePrs); + // Draw constrained object Handle(Graphic3d_AspectLine3d) aLineAspect = new Graphic3d_AspectLine3d(theColor, Aspect_TOL_SOLID, 2); aGroup->SetPrimitivesAspect(aLineAspect);