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
This commit is contained in:
Harley Acheson
2025-10-11 20:09:08 +02:00
committed by Harley Acheson
parent 64b4db4a12
commit 2d9a883822

View File

@@ -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<AreaAnimateHighlightData>(
"screen_animate_area_highlight");
data->win = win;