Fix #117674: stereoscopy rendering with overwrite disabled broken
This would still overwrite (even though frames existed).
Mistake in 6b9a500a3a
.
char "filepath" was already in use/shadowed, instead use "filepath_view" to
correctly glue path/suffix together (as done already a bit below for the
R_TOUCH case).
Pull Request: https://projects.blender.org/blender/blender/pulls/117696
This commit is contained in:
parent
2d2b087fcf
commit
5e2bad1589
|
@ -2403,18 +2403,17 @@ void RE_RenderAnim(Render *re,
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
bool is_skip = false;
|
bool is_skip = false;
|
||||||
char filepath[FILE_MAX];
|
char filepath_view[FILE_MAX];
|
||||||
|
|
||||||
LISTBASE_FOREACH (SceneRenderView *, srv, &scene->r.views) {
|
LISTBASE_FOREACH (SceneRenderView *, srv, &scene->r.views) {
|
||||||
if (!BKE_scene_multiview_is_render_view_active(&scene->r, srv)) {
|
if (!BKE_scene_multiview_is_render_view_active(&scene->r, srv)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
BKE_scene_multiview_filepath_get(srv, filepath, filepath);
|
BKE_scene_multiview_filepath_get(srv, filepath, filepath_view);
|
||||||
|
if (BLI_exists(filepath_view)) {
|
||||||
if (BLI_exists(filepath)) {
|
|
||||||
is_skip = true;
|
is_skip = true;
|
||||||
printf("skipping existing frame \"%s\" for view \"%s\"\n", filepath, srv->name);
|
printf("skipping existing frame \"%s\" for view \"%s\"\n", filepath_view, srv->name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue