X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FQABugs%2FQABugs_PresentableObject.cxx;h=87ee177f5de989397f9c9e4220278e38793f3f88;hb=611684187de2a7b7c59c33f7da9ca51afa64a326;hpb=c8428cb3e456e42cbe875baf6a2b39be41fe0ff3 diff --git a/src/QABugs/QABugs_PresentableObject.cxx b/src/QABugs/QABugs_PresentableObject.cxx index 6dff125d49..87ee177f5d 100644 --- a/src/QABugs/QABugs_PresentableObject.cxx +++ b/src/QABugs/QABugs_PresentableObject.cxx @@ -42,10 +42,10 @@ void QABugs_PresentableObject::Compute(const Handle(PrsMgr_PresentationManager3d Handle(Graphic3d_Group) aGroup = aStructure->NewGroup(); Handle(Prs3d_ShadingAspect) anAspect = myDrawer->ShadingAspect(); Graphic3d_MaterialAspect aMat = anAspect->Aspect()->FrontMaterial(); - aMat.SetReflectionModeOff (Graphic3d_TOR_AMBIENT); - aMat.SetReflectionModeOff (Graphic3d_TOR_DIFFUSE); - aMat.SetReflectionModeOff (Graphic3d_TOR_SPECULAR); - aMat.SetReflectionModeOff (Graphic3d_TOR_EMISSION); + aMat.SetAmbientColor (Quantity_NOC_BLACK); + aMat.SetDiffuseColor (Quantity_NOC_BLACK); + aMat.SetSpecularColor(Quantity_NOC_BLACK); + aMat.SetEmissiveColor(Quantity_NOC_BLACK); anAspect->SetMaterial (aMat); aGroup->SetPrimitivesAspect (anAspect->Aspect());