diff options
author | Sergey Sharybin <sergey@blender.org> | 2021-10-29 13:23:36 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2021-11-01 14:47:03 +0300 |
commit | 9111ea78acf457c27655dbdd7e7fd9d221db67e0 (patch) | |
tree | ab35e9a472c98f841fdadaf23b8cc4ec8af45429 /source/creator | |
parent | b6dd5be2136897bf421027644e519d2ac494022c (diff) |
Localize image mutex lock into runtime field of Image datablock
Allows to avoid a global lock being held while reading files from disk,
solving performance issues when Cycles needs to read a lot of packed
images.
Simple test file F11597666
Differential Revision: https://developer.blender.org/D13032
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index 7c99f954bfc..4171d60b5b6 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -414,7 +414,6 @@ int main(int argc, BKE_idtype_init(); BKE_cachefiles_init(); - BKE_images_init(); BKE_modifier_init(); BKE_gpencil_modifier_init(); BKE_shaderfx_init(); |