mirror of https://github.com/GNOME/gimp.git
plug-ins: "file-ico-save" procedure doesn't care about hot spots.
Hot spot coordinates are only for cursors.
This commit is contained in:
parent
ba686fcd17
commit
a1b7b4dedd
|
@ -201,6 +201,7 @@ ico_save_init (GimpImage *image,
|
||||||
info->hot_spot_y = g_new0 (gint, info->num_icons);
|
info->hot_spot_y = g_new0 (gint, info->num_icons);
|
||||||
|
|
||||||
if (run_mode == GIMP_RUN_NONINTERACTIVE &&
|
if (run_mode == GIMP_RUN_NONINTERACTIVE &&
|
||||||
|
info->is_cursor &&
|
||||||
(n_hot_spot_x != info->num_icons ||
|
(n_hot_spot_x != info->num_icons ||
|
||||||
n_hot_spot_y != info->num_icons))
|
n_hot_spot_y != info->num_icons))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue