Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey@blender.org>2021-10-29 13:23:36 +0300
committerSergey Sharybin <sergey@blender.org>2021-11-01 14:47:03 +0300
commit9111ea78acf457c27655dbdd7e7fd9d221db67e0 (patch)
treeab35e9a472c98f841fdadaf23b8cc4ec8af45429 /source/creator
parentb6dd5be2136897bf421027644e519d2ac494022c (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.c1
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();