Blender Git Commit Log

Git Commits -> Revision c4ff91a

Revision c4ff91a by Richard Antalik (master)
December 20, 2020, 02:51 (GMT)
VSE: Fix incorrect cache memory usage calculation

If image is cached twice, it's size has been counted twice as well, but
only image reference count is increased, not memory usage.

Use `MEM_get_memory_in_use()` instead of size own tracking.

Commit Details:

Full Hash: c4ff91aab76a9987ec109a733d39ff800ccbd15b
Parent Commit: 0144b70
Lines Changed: +4, -15

2 Modified Paths:

/source/blender/sequencer/intern/image_cache.c (+3, -14) (Diff)
/source/blender/sequencer/intern/image_cache.h (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021