1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0027717: Visualization - drop broken Prs3d_Drawer::ShadingAspectGlobal() flag

This commit is contained in:
san
2016-08-01 18:10:55 +03:00
committed by bugmaster
parent cde2e2f0ca
commit 6887652ac6
9 changed files with 7 additions and 53 deletions

View File

@@ -91,7 +91,6 @@ myInitAng(0.)
{
Set (shap);
SetHilightMode(0);
myDrawer->SetShadingAspectGlobal(Standard_False);
}
//=======================================================================
@@ -177,7 +176,6 @@ void AIS_Shape::Compute(const Handle(PrsMgr_PresentationManager3d)& /*aPresentat
}
else
{
myDrawer->SetShadingAspectGlobal (Standard_False);
if (IsInfinite())
{
StdPrs_WFShape::Add (aPrs, myshape, myDrawer);
@@ -510,7 +508,6 @@ void AIS_Shape::setColor (const Handle(Prs3d_Drawer)& theDrawer,
// override color
theDrawer->ShadingAspect()->SetColor (theColor, myCurrentFacingModel);
theDrawer->SetShadingAspectGlobal (Standard_False);
theDrawer->LineAspect()->SetColor (theColor);
theDrawer->WireAspect()->SetColor (theColor);
theDrawer->PointAspect()->SetColor (theColor);