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>2016-02-03 09:45:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-02-03 09:45:54 +0300
commitfcbb03a9b7bdc67f8f70ab679bc3083e71801465 (patch)
treea52f56fc64cc7adebec44c223705dee33014d0c2 /source/blender/blenkernel
parent94d1674ddcce3356489c79e58473450d015c8a59 (diff)
Remove redundant file exists checks
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/pointcache.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/pointcache.c b/source/blender/blenkernel/intern/pointcache.c
index 441483876fd..71b68cefde2 100644
--- a/source/blender/blenkernel/intern/pointcache.c
+++ b/source/blender/blenkernel/intern/pointcache.c
@@ -1886,9 +1886,6 @@ static PTCacheFile *ptcache_file_open(PTCacheID *pid, int mode, int cfra)
ptcache_filename(pid, filename, cfra, 1, 1);
if (mode==PTCACHE_FILE_READ) {
- if (!BLI_exists(filename)) {
- return NULL;
- }
fp = BLI_fopen(filename, "rb");
}
else if (mode==PTCACHE_FILE_WRITE) {