From 2d9a883822f108d1692901efdaab57712c288bf5 Mon Sep 17 00:00:00 2001 From: Harley Acheson Date: Sat, 11 Oct 2025 20:09:08 +0200 Subject: [PATCH] Fix #147487: Disable Area Maintenance Animations Disabling (at least temporarily) the fading animations shown during and after some area maintenance routines (like splitting, joining, closing) as this causes memory leaks during automated testing. This doesn't occur during regular usage, just when the window is closed within the animation time. We'll look for an improved solution in the future. Pull Request: https://projects.blender.org/blender/blender/pulls/147890 --- source/blender/editors/screen/screen_draw.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/blender/editors/screen/screen_draw.cc b/source/blender/editors/screen/screen_draw.cc index 14913f2d3ae..09d0f4627a4 100644 --- a/source/blender/editors/screen/screen_draw.cc +++ b/source/blender/editors/screen/screen_draw.cc @@ -724,6 +724,12 @@ void screen_animate_area_highlight(wmWindow *win, float outline[4], float seconds) { + /* Disabling for now, see #147487. This can cause memory leaks since the + * data is only freed when the animation completes, which might not happen + * during automated tests. Freeing wmWindow->drawcalls on window close might + * be enough, but will have to be investigated. */ + return; + AreaAnimateHighlightData *data = MEM_callocN( "screen_animate_area_highlight"); data->win = win;