diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-15 15:43:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-15 15:45:11 +0300 |
commit | c101ded46327d7b423c8f43297ccedd01ca9a406 (patch) | |
tree | b82e05bac5c8be25d0db4a8a0210f3854fee1018 /source/blender/blenkernel/intern/pointcache.c | |
parent | a9d8ff6e2105d3619b1d3373ee819494079a3af4 (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.c | 2 |
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: |