[Bf-blender-cvs] [a9eea6d9dc2] blender-v2.93-release: Fix PlayAnim cache size increasing when playing multiple animations

Campbell Barton noreply at git.blender.org
Sat May 8 08:12:17 CEST 2021


Commit: a9eea6d9dc2a959fb128b9c0f4caa232614d569b
Author: Campbell Barton
Date:   Sat May 8 16:10:07 2021 +1000
Branches: blender-v2.93-release
https://developer.blender.org/rBa9eea6d9dc2a959fb128b9c0f4caa232614d569b

Fix PlayAnim cache size increasing when playing multiple animations

Error in 0499dbc5c16fe6b276da81d65cade4f5da92a308

===================================================================

M	source/blender/windowmanager/intern/wm_playanim.c

===================================================================

diff --git a/source/blender/windowmanager/intern/wm_playanim.c b/source/blender/windowmanager/intern/wm_playanim.c
index b6405288a0b..41648cbc359 100644
--- a/source/blender/windowmanager/intern/wm_playanim.c
+++ b/source/blender/windowmanager/intern/wm_playanim.c
@@ -1784,6 +1784,7 @@ static char *wm_main_playanim_intern(int argc, const char **argv)
 #ifdef USE_FRAME_CACHE_LIMIT
   BLI_freelistN(&g_frame_cache.pics);
   g_frame_cache.pics_len = 0;
+  g_frame_cache.pics_size_in_memory = 0;
 #endif
 
 #ifdef WITH_AUDASPACE



More information about the Bf-blender-cvs mailing list