Salome HOME
Commit of the current operation if the preselection is activated.
[modules/shaper.git] / src / PartSet / PartSet_Operation.cpp
1 // File:        PartSet_Operation.cpp
2 // Created:     24 Nov 2014
3 // Author:      Vitaly SMETANNIKOV
4
5 #include "PartSet_Operation.h"
6
7 #include <ModuleBase_IWorkshop.h>
8 #include <ModuleBase_ISelection.h>
9
10 void PartSet_Operation::onSelectionChanged()
11 {
12   if (isEditOperation()) {
13     ModuleBase_ISelection* aSelection = myWorkshop->selection();
14     QList<ModuleBase_ViewerPrs> aHighlighted = aSelection->getHighlighted();
15     QList<ModuleBase_ViewerPrs> aSelected = aSelection->getSelected();
16   }
17 }