}
//********************************************************************
-void ModuleBase_ISelection::filterPreselectionOnEqualPoints
+void ModuleBase_ISelection::filterSelectionOnEqualPoints
(QList<ModuleBase_ViewerPrs>& theSelected)
{
QList<ModuleBase_ViewerPrs> aCandidatesToRemove;
/// Removes selection items where owners have equal vertices. The first
/// owner with the qual vertex stays in the list.
- static MODULEBASE_EXPORT void filterPreselectionOnEqualPoints
+ static MODULEBASE_EXPORT void filterSelectionOnEqualPoints
(QList<ModuleBase_ViewerPrs>& theSelected);
private:
/// Returns true if the presentations have an owner with a vertex and these vertices are equal.
if (myPreSelection.empty())
return;
- ModuleBase_ISelection::filterPreselectionOnEqualPoints(myPreSelection);
+ ModuleBase_ISelection::filterSelectionOnEqualPoints(myPreSelection);
ModuleBase_ModelWidget* aFilledWgt = 0;
ModuleBase_IPropertyPanel* aPropertyPanel = propertyPanel();
int shapesNbPoints(const ModuleBase_ISelection* theSelection)
{
QList<ModuleBase_ViewerPrs> aList = theSelection->getSelected(ModuleBase_ISelection::Viewer);
- ModuleBase_ISelection::filterPreselectionOnEqualPoints(aList);
+ ModuleBase_ISelection::filterSelectionOnEqualPoints(aList);
int aCount = 0;
foreach (ModuleBase_ViewerPrs aPrs, aList) {