]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
It is a filters implementation to be set in the XML file.
authornds <natalia.donis@opencascade.com>
Thu, 11 Dec 2014 06:57:51 +0000 (09:57 +0300)
committernds <natalia.donis@opencascade.com>
Thu, 11 Dec 2014 06:57:51 +0000 (09:57 +0300)
Comment the filters set, there is a problem in the perpendicular build on existing preselection.

src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp

index e31c52d4a185add173fc44496d42f0a22ea844a9..886c5765890cf95cbca239ddccbec35bbaf0e6df 100644 (file)
@@ -432,7 +432,7 @@ void ModuleBase_WidgetShapeSelector::activateSelection(bool toActivate)
     }
   }
 
-  ModuleBase_FilterFactory* aFactory = myWorkshop->selectionFilters();
+  /*ModuleBase_FilterFactory* aFactory = myWorkshop->selectionFilters();
   const SelectMgr_ListOfFilter& aFilters = aFactory->filters(parentID(), attributeID());
   SelectMgr_ListIteratorOfListOfFilter aIt(aFilters);
   for (; aIt.More(); aIt.Next()) {
@@ -441,7 +441,7 @@ void ModuleBase_WidgetShapeSelector::activateSelection(bool toActivate)
       aViewer->addSelectionFilter(aFilter);
     else
       aViewer->removeSelectionFilter(aFilter);
-  }
+  }*/
 }
 
 //********************************************************************