From: gdd Date: Fri, 13 Apr 2012 12:53:29 +0000 (+0000) Subject: Fix previous commit X-Git-Tag: TRIPOLI_323~54 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cad0fb17a0f14a9c7d5ebf6d954ecc35d67f52e1;p=modules%2Fgeom.git Fix previous commit --- diff --git a/src/GEOMGUI/GEOMGUI_Selection.cxx b/src/GEOMGUI/GEOMGUI_Selection.cxx index ac9ce2b42..22cef5ef9 100644 --- a/src/GEOMGUI/GEOMGUI_Selection.cxx +++ b/src/GEOMGUI/GEOMGUI_Selection.cxx @@ -64,6 +64,7 @@ #include #include #include +#include #include #include @@ -589,8 +590,8 @@ bool GEOMGUI_Selection::isPhysicalMaterial( const int idx ) const{ if ( !io.IsNull() ) { Handle(GEOM_AISShape) aSh = Handle(GEOM_AISShape)::DownCast(io); if ( !aSh.IsNull() ) - res =(bool) aSh->Attributes()->ShadingAspect()-> - Material(Aspect_TypeOfFacingModel::Aspect_TOFM_BOTH_SIDE).MaterialType( Graphic3d_MATERIAL_PHYSIC ); + res = (bool) aSh->Attributes()->ShadingAspect()-> + Material(Aspect_TOFM_BOTH_SIDE).MaterialType( Graphic3d_MATERIAL_PHYSIC ); } } }