mirror of https://github.com/GNOME/gimp.git
CID 225808 Arguments in wrong order
Swapped arguments: height is passed to width. width is passed to height.
Please check the function in /app/core/gimpbrush.c at line: 606
void
gimp_brush_transform_size (GimpBrush *brush,
gdouble scale,
gdouble aspect_ratio,
gdouble angle,
gboolean reflect,
gint *width,
gint *height)
(cherry picked from commit aeadaaeb6c
)
This commit is contained in:
parent
303ba93c5e
commit
371f9578cb
|
@ -1053,7 +1053,7 @@ gimp_paint_options_set_default_brush_size (GimpPaintOptions *paint_options,
|
|||
gint height;
|
||||
gint width;
|
||||
|
||||
gimp_brush_transform_size (brush, 1.0, 0.0, 0.0, FALSE, &height, &width);
|
||||
gimp_brush_transform_size (brush, 1.0, 0.0, 0.0, FALSE, &width, &height);
|
||||
|
||||
g_object_set (paint_options,
|
||||
"brush-size", (gdouble) MAX (height, width),
|
||||
|
|
Loading…
Reference in New Issue