From: buliabyak Date: Wed, 28 Jan 2009 21:12:57 +0000 (+0000) Subject: since imagemagic effects cannot be cancelled midway, trying to do so often crashes... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4d585dda6f2dfedf2b6e48d250a71acc01152fee;p=inkscape.git 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 --- 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(); + //} } }