Commit c4ba9c36 authored by Michael Natterer's avatar Michael Natterer 😴

Issue #1841 - Export As... mng swaps width and height

layer_cols and layer_rows were swapped.

(cherry picked from commit 44b469e4)
parent 9340b68e
......@@ -849,8 +849,8 @@ mng_save_image (const gchar *filename,
layer_drawable_type = gimp_drawable_type (layers[i]);
layer_buffer = gimp_drawable_get_buffer (layers[i]);
layer_rows = gegl_buffer_get_width (layer_buffer);
layer_cols = gegl_buffer_get_height (layer_buffer);
layer_cols = gegl_buffer_get_width (layer_buffer);
layer_rows = gegl_buffer_get_height (layer_buffer);
gimp_drawable_offsets (layers[i], &layer_offset_x, &layer_offset_y);
layer_has_unique_palette = TRUE;
......
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