Fix memory leak and possible other issues with custom previews
Mistake in 812ea91842
. Fixed that same one before in the branch, I may have
brought it back when resolving merge conflicts.
This commit is contained in:
parent
68d5ad9983
commit
e3068f38c8
|
@ -467,7 +467,7 @@ PreviewImage *BKE_previewimg_cached_thumbnail_read(const char *name,
|
|||
}
|
||||
|
||||
if (!prv) {
|
||||
previewimg_deferred_create(path, source);
|
||||
prv = previewimg_deferred_create(path, source);
|
||||
force_update = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue