fix date-dependency in texture cache
This commit is contained in:
parent
3fcf0d4c8f
commit
3697996845
|
|
@ -3003,6 +3003,9 @@ do_reload_ram_image(bool allow_compression) {
|
|||
if (do_has_ram_image() && record != (BamCacheRecord *)NULL) {
|
||||
if (cache->get_cache_textures() || (_ram_image_compression != CM_off && cache->get_cache_compressed_textures())) {
|
||||
// Update the cache.
|
||||
if (record != (BamCacheRecord *)NULL) {
|
||||
record->add_dependent_file(_fullpath);
|
||||
}
|
||||
record->set_data(this, false);
|
||||
cache->store(record);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue