0027425: Unable to build AIS package with OCCT_DEBUG enabled in current master
authoremv <emv@opencascade.com>
Mon, 25 Apr 2016 05:56:22 +0000 (08:56 +0300)
committeremv <emv@opencascade.com>
Mon, 25 Apr 2016 05:56:22 +0000 (08:56 +0300)
The usage of the removed field mySelName of the AIS_LocalContext class has also been removed.

src/AIS/AIS_LocalContext_1.cxx

index f4f7a2b..e098549 100644 (file)
@@ -1440,10 +1440,6 @@ Handle(SelectMgr_EntityOwner) AIS_LocalContext::FindSelectedOwnerFromIO
   if (anIObj.IsNull()) return EO;
   
   if(mySelection.IsNull()) {
-#ifdef OCCT_DEBUG
-    cout<<"\t\tAIS_LocalCOntext::FindSelectedOwnerFromShape : Selection "
-        <<mySelName<<" Nulle "<<endl;
-#endif
     return EO;
   }
   Standard_Boolean found(Standard_False);
@@ -1478,9 +1474,6 @@ Handle(SelectMgr_EntityOwner) AIS_LocalContext::FindSelectedOwnerFromShape(const
   if (sh.IsNull()) return EO;
   
   if(mySelection.IsNull()) {
-#ifdef OCCT_DEBUG
-    cout<<"\t\tAIS_LocalCOntext::FindSelectedOwnerFromShape : Selection "<<mySelName<<" Nulle "<<endl;
-#endif
     return EO;
   }