}
// remember current aspect face defined in workspace
- const OpenGl_AspectFace* aFaceAsp = theWorkspace->AspectFace (Standard_False);
+ const OpenGl_AspectFace* aFaceAsp = theWorkspace->AspectFace();
// replace primitive groups rendering filter
Handle(OpenGl_RenderFilter) aRenderFilter = theWorkspace->GetRenderFilter();
// override aspects, disable culling
theWorkspace->SetAspectFace (&theWorkspace->NoneCulling());
- theWorkspace->AspectFace (Standard_True);
+ theWorkspace->ApplyAspectFace();
// evaluate number of pair faces
glDisable (GL_DEPTH_TEST);
// override material, cull back faces
theWorkspace->SetAspectFace (&theWorkspace->FrontCulling());
- theWorkspace->AspectFace (Standard_True);
+ theWorkspace->ApplyAspectFace();
// enable all clip plane except the rendered one
for (aPlaneIt.Init (aContextPlanes); aPlaneIt.More(); aPlaneIt.Next())
aPlaneRes->Update (aContext);
- const OpenGl_AspectFace* aFaceAspect = theWorkspace->AspectFace (Standard_False);
+ const OpenGl_AspectFace* aFaceAspect = theWorkspace->AspectFace();
const OpenGl_AspectFace* aPlaneAspect = aPlaneRes->AspectFace();
if (aPlaneAspect != NULL)
{