diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-05-06 14:58:06 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-05-06 14:58:06 +0300 |
commit | df422314c10bb6ef0b33afa4d203916823efa976 (patch) | |
tree | 41dc32a65611139c06ce19367f5a3100ea4598c5 /source/blender | |
parent | d80ff8ce80607bb9fd3944ea272e0bee80ccf7c0 (diff) |
Only use render view name in render filenames if we are actually using
multiview.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/render/intern/source/pipeline.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c index a4089002ba5..7f08e576747 100644 --- a/source/blender/render/intern/source/pipeline.c +++ b/source/blender/render/intern/source/pipeline.c @@ -3121,10 +3121,11 @@ bool RE_WriteRenderViewsImage(ReportList *reports, RenderResult *rr, Scene *scen BLI_strncpy(filepath, name, sizeof(filepath)); for (view_id = 0, rv = rr->views.first; rv; rv = rv->next, view_id++) { - BKE_scene_multiview_view_filepath_get(&scene->r, filepath, rv->name, name); + if (!is_mono) { + BKE_scene_multiview_view_filepath_get(&scene->r, filepath, rv->name, name); + } if (rd->im_format.imtype == R_IMF_IMTYPE_MULTILAYER) { - RE_WriteRenderResult(reports, rr, name, &rd->im_format, false, rv->name); printf("Saved: %s\n", name); } |