Blender Git Commit Log

Git Commits -> Revision ebf079c

April 2, 2015, 09:04 (GMT)
Disallow deleting of files by the point cache in the `clear` function.

This function is used in every part of the code, and has been causing
great pain when deleting 15 hours worth of baking in an instant.
The complexity of the code makes it unfeasible to fix this selectively,
so for now simply disallow the code from deleting any of the files.

For selected well-defined cases the deleting can be reenabled later,
e.g. when the user presses the `Bake` button and confirms deletion in
a popup.

Commit Details:

Full Hash: ebf079c00404590ef0e964e6c42b0883357bb79f
Parent Commit: 9cfe6aa
Lines Changed: +21, -7

2 Modified Paths:

/source/blender/blenkernel/BKE_pointcache.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+20, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021