From 7393cc1db7abc8fd2c1c37dc13dfc1c85ccffbf6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 23 Feb 2022 18:24:08 +1100 Subject: Cleanup: Remove repeated word in comments --- intern/cycles/integrator/render_scheduler.cpp | 2 +- intern/cycles/integrator/render_scheduler.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'intern/cycles/integrator') diff --git a/intern/cycles/integrator/render_scheduler.cpp b/intern/cycles/integrator/render_scheduler.cpp index fe4697e082b..0d8aef106e4 100644 --- a/intern/cycles/integrator/render_scheduler.cpp +++ b/intern/cycles/integrator/render_scheduler.cpp @@ -244,7 +244,7 @@ void RenderScheduler::render_work_reschedule_on_cancel(RenderWork &render_work) render_work.tile.write = tile_write; render_work.full.write = full_write; - /* Do not write tile if it has zero samples it it, treat it similarly to all other tiles which + /* Do not write tile if it has zero samples it, treat it similarly to all other tiles which * got canceled. */ if (!state_.tile_result_was_written && has_rendered_samples) { render_work.tile.write = true; diff --git a/intern/cycles/integrator/render_scheduler.h b/intern/cycles/integrator/render_scheduler.h index 404f65e98a1..dce876d44bd 100644 --- a/intern/cycles/integrator/render_scheduler.h +++ b/intern/cycles/integrator/render_scheduler.h @@ -124,7 +124,7 @@ class RenderScheduler { /* Get sample up to which rendering has been done. * This is an absolute 0-based value. * - * For example, if start sample is 10 and and 5 samples were rendered, then this call will + * For example, if start sample is 10 and 5 samples were rendered, then this call will * return 14. * * If there were no samples rendered, then the behavior is undefined. */ @@ -132,7 +132,7 @@ class RenderScheduler { /* Get number of samples rendered within the current scheduling session. * - * For example, if start sample is 10 and and 5 samples were rendered, then this call will + * For example, if start sample is 10 and 5 samples were rendered, then this call will * return 5. * * Note that this is based on the scheduling information. In practice this means that if someone -- cgit v1.2.3