Commit 270ba46e authored by Martin Nordholts's avatar Martin Nordholts

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>.
parent 693a76a3
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment