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:
authorRichard Antalik <richardantalik@gmail.com>2021-05-11 13:49:49 +0300
committerRichard Antalik <richardantalik@gmail.com>2021-05-12 21:18:45 +0300
commit5368859a669d8cd606a6ae6948f9c927ff8faf4d (patch)
treed721cda2cefc2e01966aefaa1a9d6a48c628465b /source/blender/editors/transform/transform_convert.c
parent7bccdfd8d2b4d1efa11ccf32b7e6281eb09d4f2b (diff)
VSE: Fix disk cache potentially overwriting blend file
When disk cache path is same as blend file path, with Unix-like systems blend file can be overwritten by disk cache directory. This was caused by `BLI_delete(path, false, true)` when path points to file. On Windows this would result in error message and file would not be deleted. On Linux, file is deleted and then overwritten with cache directory. To further minimize chance of removing blend file, append disk cache path with `_seq_cache` suffix. Reviewed By: sergey Differential Revision: https://developer.blender.org/D11217
Diffstat (limited to 'source/blender/editors/transform/transform_convert.c')
0 files changed, 0 insertions, 0 deletions