diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-02-03 09:45:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-02-03 09:45:54 +0300 |
commit | fcbb03a9b7bdc67f8f70ab679bc3083e71801465 (patch) | |
tree | a52f56fc64cc7adebec44c223705dee33014d0c2 /source/blender/render/intern | |
parent | 94d1674ddcce3356489c79e58473450d015c8a59 (diff) |
Remove redundant file exists checks
Diffstat (limited to 'source/blender/render/intern')
-rw-r--r-- | source/blender/render/intern/source/voxeldata.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; |