Remove redundant file exists checks

This commit is contained in:
2016-02-03 17:45:54 +11:00
parent 94d1674ddc
commit fcbb03a9b7
2 changed files with 0 additions and 5 deletions

View File

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