]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketcherPrs/SketcherPrs_HVDirection.cpp
Salome HOME
Fix colors of highlighting of symbol constraints
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_HVDirection.cpp
index 552da1a6c63bc7c1d20af471218b5df4033ebbd8..6c2ea1e4934cb3f8c7312d98d65600e906ad1d24 100644 (file)
@@ -53,7 +53,7 @@ bool SketcherPrs_HVDirection::updateIfReadyToDisplay(double theStep, bool withCo
 void SketcherPrs_HVDirection::drawLines(const Handle(Prs3d_Presentation)& thePrs,
                                         Quantity_Color theColor) const
 {
-  Handle(Graphic3d_Group) aGroup = Prs3d_Root::NewGroup(thePrs);
+  Handle(Graphic3d_Group) aGroup = Prs3d_Root::CurrentGroup(thePrs);
 
   // Draw constrained object
   Handle(Graphic3d_AspectLine3d) aLineAspect =