Blender Git Loki

Git Commits -> Revision 5368859

Revision 5368859 by Richard Antalik (master)
May 12, 2021, 18:18 (GMT)
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

To further minimize chance of removing blend file, append disk cache
path with `_seq_cache` suffix.

Reviewed By: sergey

Differential Revision:

Commit Details:

Full Hash: 5368859a669d8cd606a6ae6948f9c927ff8faf4d
Parent Commit: 7bccdfd
Lines Changed: +8, -5

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021