From a5182a010fb993703f5725889c1b7aa5681729f6 Mon Sep 17 00:00:00 2001 From: Alx Sa Date: Fri, 3 Oct 2025 22:14:52 +0000 Subject: [PATCH] tools: Fix missing cursor for MyPaint Brush tool Resolves #15001 In the MyPaint Brushes v2 port (ea8b9dc1), I implemented a cursor_update () function from the parent class. However, I did not call the parent's version of the function afterwards, so the MyPaint Brush cursor was not being redrawn. This patch adds the call to fix the cursor display issue. --- app/tools/gimpmybrushtool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/tools/gimpmybrushtool.c b/app/tools/gimpmybrushtool.c index f2b8994e6a..0208acdc11 100644 --- a/app/tools/gimpmybrushtool.c +++ b/app/tools/gimpmybrushtool.c @@ -127,6 +127,8 @@ static void gimp_mybrush_tool_cursor_update (GimpTool *tool, options->view_zoom = (gimp_zoom_model_get_factor (shell->zoom) > 0.0f) ? gimp_zoom_model_get_factor (shell->zoom) : 1.0f; options->view_rotation = shell->rotate_angle; + + GIMP_TOOL_CLASS (parent_class)->cursor_update (tool, coords, state, display); } static void