From 5d06b1549dc1cc23f3139491802b4b78778d2a86 Mon Sep 17 00:00:00 2001 From: vsv Date: Mon, 12 Oct 2015 12:05:26 +0300 Subject: [PATCH] Change name of method --- src/ModuleBase/ModuleBase_ISelection.cpp | 2 +- src/ModuleBase/ModuleBase_ISelection.h | 2 +- src/ModuleBase/ModuleBase_OperationFeature.cpp | 2 +- src/PartSet/PartSet_Validators.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ModuleBase/ModuleBase_ISelection.cpp b/src/ModuleBase/ModuleBase_ISelection.cpp index 9eaf186dc..72f1e4df8 100644 --- a/src/ModuleBase/ModuleBase_ISelection.cpp +++ b/src/ModuleBase/ModuleBase_ISelection.cpp @@ -84,7 +84,7 @@ QList ModuleBase_ISelection::getViewerPrs(const QObjectPtr } //******************************************************************** -void ModuleBase_ISelection::filterPreselectionOnEqualPoints +void ModuleBase_ISelection::filterSelectionOnEqualPoints (QList& theSelected) { QList aCandidatesToRemove; diff --git a/src/ModuleBase/ModuleBase_ISelection.h b/src/ModuleBase/ModuleBase_ISelection.h index f7289bab7..0f9c0cb68 100644 --- a/src/ModuleBase/ModuleBase_ISelection.h +++ b/src/ModuleBase/ModuleBase_ISelection.h @@ -110,7 +110,7 @@ class ModuleBase_ISelection /// 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& theSelected); private: /// Returns true if the presentations have an owner with a vertex and these vertices are equal. diff --git a/src/ModuleBase/ModuleBase_OperationFeature.cpp b/src/ModuleBase/ModuleBase_OperationFeature.cpp index c6762043e..7d03e735f 100755 --- a/src/ModuleBase/ModuleBase_OperationFeature.cpp +++ b/src/ModuleBase/ModuleBase_OperationFeature.cpp @@ -275,7 +275,7 @@ void ModuleBase_OperationFeature::activateByPreselection() if (myPreSelection.empty()) return; - ModuleBase_ISelection::filterPreselectionOnEqualPoints(myPreSelection); + ModuleBase_ISelection::filterSelectionOnEqualPoints(myPreSelection); ModuleBase_ModelWidget* aFilledWgt = 0; ModuleBase_IPropertyPanel* aPropertyPanel = propertyPanel(); diff --git a/src/PartSet/PartSet_Validators.cpp b/src/PartSet/PartSet_Validators.cpp index 99468bcf0..849efa383 100755 --- a/src/PartSet/PartSet_Validators.cpp +++ b/src/PartSet/PartSet_Validators.cpp @@ -39,7 +39,7 @@ int shapesNbPoints(const ModuleBase_ISelection* theSelection) { QList aList = theSelection->getSelected(ModuleBase_ISelection::Viewer); - ModuleBase_ISelection::filterPreselectionOnEqualPoints(aList); + ModuleBase_ISelection::filterSelectionOnEqualPoints(aList); int aCount = 0; foreach (ModuleBase_ViewerPrs aPrs, aList) { -- 2.39.2