mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00
plug-ins: restrict GIH max dimensions to GIMP_PIXPIPE_MAXDIM
In 06bd1f1289
the max number of
dimensions was set to 1000, but the plug-in runs into a
segfault when dimension >4. The rest of the plug-in uses
GIMP_PIXPIPE_MAXDIM as max (4), so use it for the dimension argument
as well.
This commit is contained in:
parent
d7cfc441e0
commit
8f6c6867c8
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ gih_create_procedure (GimpPlugIn *plug_in,
|
|||
gimp_procedure_add_int_aux_argument (procedure, "dimension",
|
||||
_("D_imension"),
|
||||
_("How many dimensions the animated brush has"),
|
||||
1, 1000, 1,
|
||||
1, GIMP_PIXPIPE_MAXDIM, 1,
|
||||
GIMP_PARAM_READWRITE);
|
||||
|
||||
gimp_procedure_add_int32_array_aux_argument (procedure, "guides",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue