X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_IModule.cpp;h=36e09437e72d38564105a63087319edb9d56c07b;hb=5e2e5c8e92f1d022158ef717c711a8ea79e5dd13;hp=773c84b5a32542459a3078a08108c60aa94a4c37;hpb=61da4e89d2ec63daa429d304f928482a0e6fa0b7;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); }