X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_ViewerProxy.cpp;h=4b82e3ed627b289936b4967ed3dd504302dcf052;hb=d94da58e548165a5a9f9aa04b6df9a3f29605fa2;hp=82154a769367c2167bca85c0aa9ede133f73834a;hpb=b765ac40ed97259fcc027edaf187e7330b926676;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_ViewerProxy.cpp b/src/XGUI/XGUI_ViewerProxy.cpp index 82154a769..4b82e3ed6 100644 --- a/src/XGUI/XGUI_ViewerProxy.cpp +++ b/src/XGUI/XGUI_ViewerProxy.cpp @@ -466,6 +466,7 @@ void XGUI_ViewerProxy::displayHighlight(FeaturePtr theFeature, const TopoDS_Shap aAis->SetZLayer(Graphic3d_ZLayerId_Top); //Graphic3d_ZLayerId_Topmost aDeflection = Config_PropManager::real("Visualization", "construction_deflection"); aAis->Attributes()->SetDeviationCoefficient(aDeflection); + aAis->Attributes()->SetIsoOnPlane(false); myHighlights.Append(aAis); aContext->Display(aAis, false); aContext->Deactivate(aAis); @@ -480,6 +481,7 @@ void XGUI_ViewerProxy::displayHighlight(FeaturePtr theFeature, const TopoDS_Shap aAis->SetZLayer(Graphic3d_ZLayerId_Top); //Graphic3d_ZLayerId_Topmost aDeflection = Config_PropManager::real("Visualization", "body_deflection"); aAis->Attributes()->SetDeviationCoefficient(aDeflection); + aAis->Attributes()->SetIsoOnPlane(false); myHighlights.Append(aAis); aContext->Display(aAis, false); aContext->Deactivate(aAis);