Remove redundant BLI_exists call
This commit is contained in:
parent
785b90d7ef
commit
cefe137e91
|
@ -3098,7 +3098,8 @@ void RE_BlenderAnim(Render *re, Main *bmain, Scene *scene, Object *camera_overri
|
|||
if (G.is_break == true) {
|
||||
/* remove touched file */
|
||||
if (BKE_imtype_is_movie(scene->r.im_format.imtype) == 0) {
|
||||
if (scene->r.mode & R_TOUCH && BLI_exists(name) && BLI_file_size(name) == 0) {
|
||||
if ((scene->r.mode & R_TOUCH) && (BLI_file_size(name) == 0)) {
|
||||
/* BLI_exists(name) is implicit */
|
||||
BLI_delete(name, false, false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue