X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_IModule.cpp;h=36e09437e72d38564105a63087319edb9d56c07b;hb=94ba553e7b92f11a936e027b49bbd1d501eeee44;hp=773c84b5a32542459a3078a08108c60aa94a4c37;hpb=b851613e697ad60c47e633121933a5ee4b640789;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_IModule.cpp b/src/ModuleBase/ModuleBase_IModule.cpp index 773c84b5a..36e09437e 100644 --- a/src/ModuleBase/ModuleBase_IModule.cpp +++ b/src/ModuleBase/ModuleBase_IModule.cpp @@ -34,9 +34,7 @@ void ModuleBase_IModule::launchOperation(const QString& theCmdId) ModuleBase_Operation* anOperation = createOperation(theCmdId.toStdString()); ModuleBase_ISelection* aSelection = myWorkshop->selection(); // Initialise operation with preliminary selection - QList aSelected = aSelection->getSelected(); - QList aHighlighted = aSelection->getHighlighted(); - anOperation->initSelection(aSelected, aHighlighted); + anOperation->initSelection(aSelection, myWorkshop->viewer()); sendOperation(anOperation); }