From: asl Date: Thu, 26 Dec 2013 08:32:46 +0000 (+0000) Subject: material aspect is changed to plastic X-Git-Tag: BR_hydro_v_0_7~48 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=37d6ba7cf935c535e179f292d1f6cda56a42ad1b;p=modules%2Fhydro.git material aspect is changed to plastic --- diff --git a/src/HYDROGUI/HYDROGUI_Shape.cxx b/src/HYDROGUI/HYDROGUI_Shape.cxx index ca88fc01..862c9e18 100644 --- a/src/HYDROGUI/HYDROGUI_Shape.cxx +++ b/src/HYDROGUI/HYDROGUI_Shape.cxx @@ -620,9 +620,9 @@ void HYDROGUI_Shape::buildShape() Handle(Prs3d_ShadingAspect) aShadingAspect = anAttributes->ShadingAspect(); if ( !aShadingAspect.IsNull() ) { - Graphic3d_MaterialAspect aMatAspect; - aMatAspect.SetAmbient( 1 ); - aMatAspect.SetDiffuse( 0 ); + Graphic3d_MaterialAspect aMatAspect( Graphic3d_NOM_PLASTIC ); + //aMatAspect.SetAmbient( 1 ); + //aMatAspect.SetDiffuse( 0 ); aShadingAspect->Aspect()->SetFrontMaterial( aMatAspect ); aShadingAspect->Aspect()->SetBackMaterial( aMatAspect );