1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +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

@@ -290,11 +290,7 @@ namespace
Handle(Graphic3d_Group) aGroup = Prs3d_Root::NewGroup (thePrs);
aGroup->SetClosed (theIsClosed);
if (!theDrawer->ShadingAspectGlobal())
{
Handle(Graphic3d_AspectFillArea3d) anAsp = theDrawer->ShadingAspect()->Aspect();
aGroup->SetGroupPrimitivesAspect (anAsp);
}
aGroup->SetGroupPrimitivesAspect (theDrawer->ShadingAspect()->Aspect());
aGroup->AddPrimitiveArray (aPArray);
return Standard_True;
}