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.
This commit is contained in:
Campbell Barton 2021-12-15 23:43:55 +11:00
parent a9d8ff6e21
commit c101ded463
1 changed files with 0 additions and 2 deletions

View File

@ -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: