paint: Issue #9774 eval core_brush symmetry before paintbrush params

This sets symmetry reflect correctly in the initial
gimp_brush_core_get_brush_pixmap call.
This commit is contained in:
aruius 2025-05-03 00:00:00 +00:00 committed by Alx Sa
parent 705b0527b3
commit 7850b61961

View file

@ -283,6 +283,9 @@ _gimp_paintbrush_motion (GimpPaintCore *paint_core,
paint_appl_mode = paint_options->application_mode;
if (GIMP_BRUSH_CORE_GET_CLASS (brush_core)->handles_transforming_brush)
gimp_brush_core_eval_transform_symmetry (brush_core, sym, i);
GIMP_PAINTBRUSH_GET_CLASS (paintbrush)->get_paint_params (paintbrush,
drawable,
paint_options,
@ -295,9 +298,6 @@ _gimp_paintbrush_motion (GimpPaintCore *paint_core,
coords = *(gimp_symmetry_get_coords (sym, i));
if (GIMP_BRUSH_CORE_GET_CLASS (brush_core)->handles_transforming_brush)
gimp_brush_core_eval_transform_symmetry (brush_core, sym, i);
paint_buffer = gimp_paint_core_get_paint_buffer (paint_core, drawable,
paint_options,
paint_mode,