Blender Git Loki

Git Commits -> Revision a7dca13

Revision a7dca13 by Alexander Gavrilov (master)
December 28, 2021, 11:56 (GMT)
Fix loss of cloth disk cache on reload in library overrides.

If the override system creates an override record for the cache
name (no idea why though), it trashes the disk cache on file load.

The reason is that it tries to rename cache files in update handler
when assigning the name, and BLI_rename deletes the target file even
if both names are the same.

This is a safe fix that simply aborts the pointless rename attempt.

Differential Revision: https://developer.blender.org/D13679

Commit Details:

Full Hash: a7dca135dc78b8c9644543ed99ef126971d74703
Parent Commit: b29e33c
Lines Changed: +5, -0

1 Modified Path:

/source/blender/blenkernel/intern/pointcache.c (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021