]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix previous commit
authorgdd <gdd>
Fri, 13 Apr 2012 12:53:29 +0000 (12:53 +0000)
committergdd <gdd>
Fri, 13 Apr 2012 12:53:29 +0000 (12:53 +0000)
src/GEOMGUI/GEOMGUI_Selection.cxx

index ac9ce2b423e30c5aeae2dfa29d5f525e9c4c3e34..22cef5ef95f872a1bb855c699bdbd561b5a403ab 100644 (file)
@@ -64,6 +64,7 @@
 #include <AIS_ListOfInteractive.hxx>
 #include <AIS_GraphicTool.hxx>
 #include <AIS_Drawer.hxx>
+#include <Aspect_TypeOfFacingModel.hxx>
 #include <Prs3d_ShadingAspect.hxx>
 #include<Graphic3d_MaterialAspect.hxx>
 
@@ -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 );
              }
            }
          }