From 933b21eed4c05b69e71b6848cb77fefb17e6d0e2 Mon Sep 17 00:00:00 2001 From: vsv Date: Fri, 31 Aug 2018 11:59:49 +0300 Subject: [PATCH] Improve highlighting of a context --- src/XGUI/XGUI_ViewerProxy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2