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:
authorBastien Montagne <montagne29@wanadoo.fr>2015-09-09 22:30:30 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-09-09 22:36:10 +0300
commite4baa9fb8626065f3ecb3abd035afe47e01b527f (patch)
tree52b18fa0e0142cab08071a733c6df18d625b1d69 /source/blender/blenkernel/intern/font.c
parent02b9921b75e6b2b6e83763519db2bb1e510fcd19 (diff)
Fix broken logic in new FileBrowser caching of entries.
We were still using main borwser's FileDirEntryArr to own memory of entries currently in cache. That was OK for common caching operation, but if was not released when clearing cache! Nothing dramatic, since that was cleared too, but less often, so e.g. by changing sorting options you could pile up more and more no-more-used entries there... Anyway, there is no reason to do that, much more sound and clean to keep everything cache-related in dedicated FileDirEntryCache struct. This means main borwser's FileDirEntryArr is now always expected to not store any actual entry! Note: this can probably be cleaned up a bit more, but would wait after 2.76 for this!
Diffstat (limited to 'source/blender/blenkernel/intern/font.c')
0 files changed, 0 insertions, 0 deletions