diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2019-01-18 02:40:05 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2019-01-18 02:58:28 +0300 |
commit | af316e8bc87b053e5b50453c8c5081546777d4a9 (patch) | |
tree | 3467c480c05a33f80fa009d93949b2ea707e2187 /source/blender/render/intern | |
parent | a8e7275627a065e987172101aec5e1ddea3c4e36 (diff) |
Render API: Fix detection of duplicate render passes
Diffstat (limited to 'source/blender/render/intern')
-rw-r--r-- | source/blender/render/intern/source/render_result.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/render/intern/source/render_result.c b/source/blender/render/intern/source/render_result.c index 4f2b0980762..bfe3d20163c 100644 --- a/source/blender/render/intern/source/render_result.c +++ b/source/blender/render/intern/source/render_result.c @@ -509,6 +509,7 @@ void render_result_add_pass(RenderResult *rr, const char *name, int channels, co for (rp = rl->passes.first; rp; rp = rp->next) { if (!STREQ(rp->name, name)) continue; if (!STREQ(rp->view, view)) continue; + break; } if (!rp) { |