From: vsr Date: Thu, 7 May 2015 16:01:50 +0000 (+0300) Subject: OCCT 6.9.0 (IR-2015-05-23) compatibility X-Git-Tag: V7_6_0rc1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=39d63c1e291cc636ef63072fe336373c3fbd76da;p=modules%2Fgeom.git OCCT 6.9.0 (IR-2015-05-23) compatibility --- diff --git a/src/CurveCreator/CurveCreator_Utils.cxx b/src/CurveCreator/CurveCreator_Utils.cxx index b8471abe8..7b6075c2b 100644 --- a/src/CurveCreator/CurveCreator_Utils.cxx +++ b/src/CurveCreator/CurveCreator_Utils.cxx @@ -582,7 +582,7 @@ void CurveCreator_Utils::setSelectedPoints( Handle(AIS_InteractiveContext) theCo for( aSelection->Init(); aSelection->More(); aSelection->Next() ) { #if OCC_VERSION_LARGE > 0x06080100 - const SelectMgr_HSensitiveEntity aHSenEntity = aSelection->Sensitive(); + const Handle(SelectMgr_SensitiveEntity) aHSenEntity = aSelection->Sensitive(); if( aHSenEntity.IsNull() ) continue; Handle_SelectBasics_SensitiveEntity aSenEntity = aHSenEntity->BaseSensitive(); diff --git a/src/GEOMGUI/GEOMGUI_OCCSelector.cxx b/src/GEOMGUI/GEOMGUI_OCCSelector.cxx index efb4dcd6b..8bed68fb2 100644 --- a/src/GEOMGUI/GEOMGUI_OCCSelector.cxx +++ b/src/GEOMGUI/GEOMGUI_OCCSelector.cxx @@ -179,7 +179,7 @@ static void getEntityOwners( const Handle(AIS_InteractiveObject)& theObj, for ( sel->Init(); sel->More(); sel->Next() ) { #if OCC_VERSION_LARGE > 0x06080100 - const SelectMgr_HSensitiveEntity aHSenEntity = sel->Sensitive(); + const Handle(SelectMgr_SensitiveEntity) aHSenEntity = sel->Sensitive(); if( aHSenEntity.IsNull() ) continue; diff --git a/src/OBJECT/GEOM_AISShape.cxx b/src/OBJECT/GEOM_AISShape.cxx index 5415d5373..b2a0efa5c 100644 --- a/src/OBJECT/GEOM_AISShape.cxx +++ b/src/OBJECT/GEOM_AISShape.cxx @@ -109,7 +109,7 @@ static void getEntityOwners( const Handle(AIS_InteractiveObject)& theObj, for ( sel->Init(); sel->More(); sel->Next() ) { #if OCC_VERSION_LARGE > 0x06080100 - const SelectMgr_HSensitiveEntity aHSenEntity = sel->Sensitive(); + const Handle(SelectMgr_SensitiveEntity) aHSenEntity = sel->Sensitive(); if( aHSenEntity.IsNull() ) continue;