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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user