diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-01-09 11:00:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-09 11:07:14 +0300 |
commit | e718004edf3fc335d686cc2a0291f1f0df4eba32 (patch) | |
tree | 97416aa6724970fc430ece20940bd855fdcce6ed /source/blender/render/intern/pipeline.c | |
parent | 246efd7286f6187e4dd4b3edcc79cccb1746bb1d (diff) |
Cleanup: use bool arguments & variables
Diffstat (limited to 'source/blender/render/intern/pipeline.c')
-rw-r--r-- | source/blender/render/intern/pipeline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/render/intern/pipeline.c b/source/blender/render/intern/pipeline.c index f484977d2b4..4628a5a132b 100644 --- a/source/blender/render/intern/pipeline.c +++ b/source/blender/render/intern/pipeline.c @@ -1130,7 +1130,7 @@ void RE_AddObject(Render *UNUSED(re), Object *UNUSED(ob)) static void do_render_3d(Render *re) { re->current_scene_update(re->suh, re->scene); - RE_engine_render(re, 0); + RE_engine_render(re, false); } /* make sure disprect is not affected by the render border */ @@ -1599,7 +1599,7 @@ static void do_render_all_options(Render *re) BKE_image_all_free_anim_ibufs(re->main, re->r.cfra); SEQ_relations_free_all_anim_ibufs(re->scene, re->r.cfra); - if (RE_engine_render(re, 1)) { + if (RE_engine_render(re, true)) { /* in this case external render overrides all */ } else if (RE_seq_render_active(re->scene, &re->r)) { |