From cad0fb17a0f14a9c7d5ebf6d954ecc35d67f52e1 Mon Sep 17 00:00:00 2001 From: gdd Date: Fri, 13 Apr 2012 12:53:29 +0000 Subject: [PATCH] Fix previous commit --- src/GEOMGUI/GEOMGUI_Selection.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 ); } } } -- 2.39.2