Salome HOME
0023450: Fields are not displayed in GEOM
[modules/geom.git] / src / GEOMGUI / GEOMGUI_OCCSelector.cxx
index 4ab85d38aaef72bab3eb7d43aaf3f102085ba833..7ab8db1f9a4bc76ac6c2471d0936e742cb2d0563 100644 (file)
@@ -26,8 +26,6 @@
 #include "GEOMGUI_OCCSelector.h"
 #include "GEOM_Annotation.hxx"
 
-#include <Basics_OCCTVersion.hxx>
-
 #include <LightApp_DataSubOwner.h>
 
 #include <OCCViewer_ViewModel.h>
@@ -179,15 +177,11 @@ static void getEntityOwners( const Handle(AIS_InteractiveObject)& theObj,
     Handle(SelectMgr_Selection) sel = theObj->Selection( m );
 
     for ( sel->Init(); sel->More(); sel->Next() ) {
-#if OCC_VERSION_LARGE > 0x06080100
       const Handle(SelectMgr_SensitiveEntity) aHSenEntity = sel->Sensitive();
       if( aHSenEntity.IsNull() )
         continue;
 
       Handle(SelectBasics_SensitiveEntity) entity = aHSenEntity->BaseSensitive();
-#else
-      Handle(SelectBasics_SensitiveEntity) entity = sel->Sensitive();
-#endif
       if ( entity.IsNull() )
         continue;