mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-20 19:43:01 +00:00
plugin: Fix gih exporter to default first rank equal to number of cells
This commit is contained in:
parent
87584d2f82
commit
6e332505ca
|
@ -338,6 +338,10 @@ run (const gchar *name,
|
|||
gimp_pixpipe_params_parse (gimp_parasite_data (pipe_parasite),
|
||||
&gihparams);
|
||||
|
||||
/* Force default rank to same as number of cells if there is just one dim */
|
||||
if (gihparams.dim == 1)
|
||||
gihparams.rank[0] = gihparams.ncells;
|
||||
|
||||
if (!gih_save_dialog (image_ID))
|
||||
status = GIMP_PDB_CANCEL;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue