Salome HOME
*** empty log message ***
[modules/gui.git] / src / SalomeApp / SalomeApp_VTKSelector.cxx
index 21e0bfa80c304f43d93315d700c2a4f1e7357da5..e67be28b4f178fe339fc1abf2cc7f5f69a1d8562 100644 (file)
 
 #include "utilities.h"
 
-//#ifdef _DEBUG_
+#ifdef _DEBUG_
 static int MYDEBUG = 1;
-/*#else
+#else
 static int MYDEBUG = 0;
-#endif*/
+#endif
 
 SalomeApp_SVTKDataOwner
 ::SalomeApp_SVTKDataOwner( const Handle(SALOME_InteractiveObject)& theIO,
@@ -144,20 +144,6 @@ SalomeApp_VTKSelector
          for( ; anIt.More(); anIt.Next() )
            toRemove.remove( anIt.Value()->getEntry() );
 
-
-/*       SALOME_ListIO aRemoveList;
-         SALOME_ListIteratorOfListIO anAppendListIter(anAppendList);
-         for(; anAppendListIter.More(); anAppendListIter.Next()){
-           Handle(SALOME_InteractiveObject) anIO = anAppendListIter.Value();
-           SALOME_ListIteratorOfListIO aStoredListIter(aStoredList);
-           for(; aStoredListIter.More(); aStoredListIter.Next()){
-             if(anIO->isSame(aStoredListIter.Value())){
-               aRemoveList.Append(anIO);
-             }
-           }
-         }
-         SALOME_ListIteratorOfListIO aRemoveListIter(aRemoveList);*/
-
          QMap< QString, Handle( SALOME_InteractiveObject )>::const_iterator RIt = toRemove.begin(),
                                                                             REnd = toRemove.end();
          for( ; RIt!=REnd; RIt++ )