From db60634ed1d6b612ed16f65febea98296ba16255 Mon Sep 17 00:00:00 2001 From: dipts Date: Sun, 11 Feb 2018 00:31:43 +0100 Subject: [PATCH] 0029500: Visualization - AIS_Point dynamic highlighting is not drawn on RedrawImmediate ZLayer for Dynamic highlighting of AIS_Point has been set to Graphic3d_ZLayerId_Top and of Selected highlighting to Graphic3d_ZLayerId_UNKNOWN, to follow the behavior of normal AIS object. --- src/AIS/AIS_Point.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/AIS/AIS_Point.cxx b/src/AIS/AIS_Point.cxx index 345c4462a4..ae204116ed 100644 --- a/src/AIS/AIS_Point.cxx +++ b/src/AIS/AIS_Point.cxx @@ -52,10 +52,12 @@ myTOM(Aspect_TOM_PLUS) myHilightDrawer->SetDisplayMode (-99); myHilightDrawer->SetPointAspect (new Prs3d_PointAspect (Aspect_TOM_PLUS, Quantity_NOC_GRAY80, 3.0)); myHilightDrawer->SetColor (Quantity_NOC_GRAY80); + myHilightDrawer->SetZLayer (Graphic3d_ZLayerId_UNKNOWN); myDynHilightDrawer = new Prs3d_Drawer(); myDynHilightDrawer->SetDisplayMode (-99); myDynHilightDrawer->SetPointAspect (new Prs3d_PointAspect (Aspect_TOM_PLUS, Quantity_NOC_CYAN1, 3.0)); myDynHilightDrawer->SetColor (Quantity_NOC_CYAN1); + myDynHilightDrawer->SetZLayer (Graphic3d_ZLayerId_Top); } //======================================================================= -- 2.20.1