diff options
Diffstat (limited to 'source/blender/imbuf/intern/moviecache.c')
-rw-r--r-- | source/blender/imbuf/intern/moviecache.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/moviecache.c b/source/blender/imbuf/intern/moviecache.c index 3718cb270c9..00d9dd2fe04 100644 --- a/source/blender/imbuf/intern/moviecache.c +++ b/source/blender/imbuf/intern/moviecache.c @@ -262,7 +262,9 @@ static bool get_item_destroyable(void *item_v) * * Such buffers are never to be freed. */ - if (item->ibuf->userflags & IB_BITMAPDIRTY) { + if ((item->ibuf->userflags & IB_BITMAPDIRTY) || + (item->ibuf->userflags & IB_PERSISTENT)) + { return false; } return true; |