From 4d585dda6f2dfedf2b6e48d250a71acc01152fee Mon Sep 17 00:00:00 2001 From: buliabyak Date: Wed, 28 Jan 2009 21:12:57 +0000 Subject: [PATCH] since imagemagic effects cannot be cancelled midway, trying to do so often crashes; the fix is to disallow UI interaction while it works, at least until we implement a way to safely cancel such effects --- src/extension/internal/bitmap/imagemagick.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/extension/internal/bitmap/imagemagick.cpp b/src/extension/internal/bitmap/imagemagick.cpp index 0be324f42..402e0c973 100644 --- a/src/extension/internal/bitmap/imagemagick.cpp +++ b/src/extension/internal/bitmap/imagemagick.cpp @@ -198,9 +198,9 @@ ImageMagick::effect (Inkscape::Extension::Effect *module, Inkscape::UI::View::Vi printf("Caught exception: %s \n", error_.what()); } - while(Gtk::Main::events_pending()) { - Gtk::Main::iteration(); - } + //while(Gtk::Main::events_pending()) { + // Gtk::Main::iteration(); + //} } } -- 2.30.2