From: vsv Date: Fri, 31 Aug 2018 08:59:49 +0000 (+0300) Subject: Improve highlighting of a context X-Git-Tag: V9_2_0a1~74 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=933b21eed4c05b69e71b6848cb77fefb17e6d0e2;p=modules%2Fshaper.git Improve highlighting of a context --- diff --git a/src/XGUI/XGUI_ViewerProxy.cpp b/src/XGUI/XGUI_ViewerProxy.cpp index d763573e3..5aef6ec18 100644 --- a/src/XGUI/XGUI_ViewerProxy.cpp +++ b/src/XGUI/XGUI_ViewerProxy.cpp @@ -297,8 +297,8 @@ void XGUI_ViewerProxy::displayHighlight() aRes = (*aIt); TopoDS_Shape aTShape = aRes->shape()->impl(); 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);