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:
authorCampbell Barton <ideasman42@gmail.com>2021-12-15 15:43:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-12-15 15:45:11 +0300
commitc101ded46327d7b423c8f43297ccedd01ca9a406 (patch)
treeb82e05bac5c8be25d0db4a8a0210f3854fee1018 /source/blender/blenkernel/intern/pointcache.c
parenta9d8ff6e2105d3619b1d3373ee819494079a3af4 (diff)
Cleanup: remove disabled code
Originally pointcache wasn't supported when the file wasn't saved. Remove commented code as this hasn't been the case for a long time.
Diffstat (limited to 'source/blender/blenkernel/intern/pointcache.c')
-rw-r--r--source/blender/blenkernel/intern/pointcache.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/pointcache.c b/source/blender/blenkernel/intern/pointcache.c
index 30985eb7df9..094181afca9 100644
--- a/source/blender/blenkernel/intern/pointcache.c
+++ b/source/blender/blenkernel/intern/pointcache.c
@@ -2626,8 +2626,6 @@ void BKE_ptcache_id_clear(PTCacheID *pid, int mode, unsigned int cfra)
}
#endif
- // if (!G.relbase_valid) return; /* Save blend file before using pointcache. */
-
/* clear all files in the temp dir with the prefix of the ID and the ".bphys" suffix */
switch (mode) {
case PTCACHE_CLEAR_ALL: