From: mzn Date: Thu, 24 Nov 2005 15:16:24 +0000 (+0000) Subject: Fix for bug PAL10333(Selected sub-shapes are in the same color as iso-lines). X-Git-Tag: BR_3_1_0_deb~32 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=023eba7810344093388f57cbbd60b47e65e4a6d5;p=modules%2Fgui.git Fix for bug PAL10333(Selected sub-shapes are in the same color as iso-lines). --- diff --git a/src/OCCViewer/OCCViewer_ViewModel.cxx b/src/OCCViewer/OCCViewer_ViewModel.cxx index f500730e7..b5e3000af 100755 --- a/src/OCCViewer/OCCViewer_ViewModel.cxx +++ b/src/OCCViewer/OCCViewer_ViewModel.cxx @@ -38,6 +38,8 @@ myBgColor( Qt::black ) // init selector myAISContext = new AIS_InteractiveContext( myV3dViewer, myV3dCollector); + + myAISContext->SelectionColor( Quantity_NOC_WHITE ); // display isoline on planar faces (box for ex.) myAISContext->IsoOnPlane( true );