[gimp] Bug 623186 - GIF save plugin chokes on layers larger than canvas
- From: Martin Nordholts <martinn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 623186 - GIF save plugin chokes on layers larger than canvas
- Date: Mon, 16 Aug 2010 20:01:49 +0000 (UTC)
commit 270ba46eba8270c42ad5c722854d4def295740c6
Author: Martin Nordholts <martinn src gnome org>
Date: Mon Jul 26 19:41:50 2010 +0200
Bug 623186 - GIF save plugin chokes on layers larger than canvas
GIMP_RUN_WITH_LAST_VALS must have the UI initialized too, for example
when doing File -> Export <file>.
plug-ins/common/file-gif-save.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/file-gif-save.c b/plug-ins/common/file-gif-save.c
index d382052..eafa9fd 100644
--- a/plug-ins/common/file-gif-save.c
+++ b/plug-ins/common/file-gif-save.c
@@ -216,7 +216,8 @@ run (const gchar *name,
drawable_ID = param[2].data.d_int32;
filename = param[3].data.d_string;
- if (run_mode == GIMP_RUN_INTERACTIVE)
+ if (run_mode == GIMP_RUN_INTERACTIVE ||
+ run_mode == GIMP_RUN_WITH_LAST_VALS)
gimp_ui_init (PLUG_IN_BINARY, FALSE);
status = sanity_check (filename, image_ID, &error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]