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:
-rw-r--r--source/blender/blenkernel/intern/pointcache.c3
-rw-r--r--source/blender/render/intern/source/voxeldata.c2
2 files changed, 0 insertions, 5 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) {
diff --git a/source/blender/render/intern/source/voxeldata.c b/source/blender/render/intern/source/voxeldata.c
index 7a0d12d3e63..1022aeeec66 100644
--- a/source/blender/render/intern/source/voxeldata.c
+++ b/source/blender/render/intern/source/voxeldata.c
@@ -426,7 +426,6 @@ void cache_voxeldata(Tex *tex, int scene_frame)
return;
case TEX_VD_BLENDERVOXEL:
BLI_path_abs(path, G.main->name);
- if (!BLI_exists(path)) return;
fp = BLI_fopen(path, "rb");
if (!fp) return;
@@ -437,7 +436,6 @@ void cache_voxeldata(Tex *tex, int scene_frame)
return;
case TEX_VD_RAW_8BIT:
BLI_path_abs(path, G.main->name);
- if (!BLI_exists(path)) return;
fp = BLI_fopen(path, "rb");
if (!fp) return;