diff options
Diffstat (limited to 'src/extension/implementation/script.cpp')
| -rw-r--r-- | src/extension/implementation/script.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/extension/implementation/script.cpp b/src/extension/implementation/script.cpp index f0a6ec7bf..11961458a 100644 --- a/src/extension/implementation/script.cpp +++ b/src/extension/implementation/script.cpp @@ -690,12 +690,6 @@ void Script::effect(Inkscape::Extension::Effect *module, if (desktop) { Inkscape::Selection * selection = desktop->getSelection(); if (selection) { - //No working dialog run once - if (!selection->isEmpty()) { - selection->setBackup(); - } else { - selection->restoreBackup(); - } params = selection->params; module->paramListString(params); selection->clear(); @@ -763,12 +757,6 @@ void Script::effect(Inkscape::Extension::Effect *module, //set the current layer desktop->setCurrentLayer(layer); } - if (desktop) { - Inkscape::Selection * selection = desktop->getSelection(); - if (selection && selection->isEmpty()) { - selection->restoreBackup(); - } - } } mydoc->release(); } |
