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:
parent
a9d8ff6e21
commit
c101ded463
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue