]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Improve highlighting of a context
authorvsv <vsv@opencascade.com>
Fri, 31 Aug 2018 08:59:49 +0000 (11:59 +0300)
committervsv <vsv@opencascade.com>
Fri, 31 Aug 2018 08:59:49 +0000 (11:59 +0300)
src/XGUI/XGUI_ViewerProxy.cpp

index d763573e353fb6cccda447eec738675b03c3ffdf..5aef6ec1863db6c6f863d75553ec496675cf3330 100644 (file)
@@ -297,8 +297,8 @@ void XGUI_ViewerProxy::displayHighlight()
     aRes = (*aIt);
     TopoDS_Shape aTShape = aRes->shape()->impl<TopoDS_Shape>();
     aAis = new AIS_Shape(aTShape);
-    aAis->SetColor(Quantity_NOC_CYAN3);
-    aAis->SetZLayer(Graphic3d_ZLayerId_Topmost);
+    aAis->SetColor(Quantity_NOC_CYAN4);
+    aAis->SetZLayer(1); //Graphic3d_ZLayerId_Topmost
     myHighlights.Append(aAis);
     aContext->Display(aAis, false);
     aContext->Deactivate(aAis);