From f1c746a9b4efd5eeefb724732f8254eed2729353 Mon Sep 17 00:00:00 2001 From: vsv Date: Fri, 5 Jun 2015 19:11:38 +0300 Subject: [PATCH] Restore color of selection of symbol constraints --- src/SketcherPrs/SketcherPrs_SymbolPrs.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/SketcherPrs/SketcherPrs_SymbolPrs.cpp b/src/SketcherPrs/SketcherPrs_SymbolPrs.cpp index 4d160d1ec..798b17007 100644 --- a/src/SketcherPrs/SketcherPrs_SymbolPrs.cpp +++ b/src/SketcherPrs/SketcherPrs_SymbolPrs.cpp @@ -421,6 +421,11 @@ void SketcherPrs_SymbolPrs::Render(const Handle(OpenGl_Workspace)& theWorkspace) if (theWorkspace->NamedStatus & OPENGL_NS_HIGHLIGHT) aLineColor = theWorkspace->HighlightColor; + if (toHilight) + aCtx->core11fwd->glDisable (GL_LIGHTING); + else + aCtx->core11fwd->glEnable (GL_LIGHTING); + aCtx->SetColor4fv(*(const OpenGl_Vec4* )(aLineColor->rgb)); -- 2.39.2