]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Change name of method
authorvsv <vitaly.smetannikov@opencascade.com>
Mon, 12 Oct 2015 09:05:26 +0000 (12:05 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Mon, 12 Oct 2015 09:05:38 +0000 (12:05 +0300)
src/ModuleBase/ModuleBase_ISelection.cpp
src/ModuleBase/ModuleBase_ISelection.h
src/ModuleBase/ModuleBase_OperationFeature.cpp
src/PartSet/PartSet_Validators.cpp

index 9eaf186dc4181b9e8f8a66016250f9fbdf7fef66..72f1e4df8337efcd78e60bbe2f48409855b611e5 100644 (file)
@@ -84,7 +84,7 @@ QList<ModuleBase_ViewerPrs> ModuleBase_ISelection::getViewerPrs(const QObjectPtr
 }
 
 //********************************************************************
-void ModuleBase_ISelection::filterPreselectionOnEqualPoints
+void ModuleBase_ISelection::filterSelectionOnEqualPoints
                                               (QList<ModuleBase_ViewerPrs>& theSelected)
 {
   QList<ModuleBase_ViewerPrs> aCandidatesToRemove;
index f7289bab76cd4b0306f7cabe14c23fc0110708d5..0f9c0cb68c9489ef566dba972e8392ba03ab2974 100644 (file)
@@ -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<ModuleBase_ViewerPrs>& theSelected);
 private:
   /// Returns true if the presentations have an owner with a vertex and these vertices are equal.
index c6762043e1d8796f78cbf4725c80ee9200dc101f..7d03e735fdaf5b1379a9546f99a44c06a75b158d 100755 (executable)
@@ -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();
index 99468bcf043962bd3b78a489d98eb62eb1579ef1..849efa38357f58a2a09c18d4181fb25f9ba6cf91 100755 (executable)
@@ -39,7 +39,7 @@
 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) {