Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-09-22 07:48:01 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-09-22 07:54:01 +0300
commit4d66cbd140b1648b79df0df695046cb718797b70 (patch)
tree945b1093ba250ad57611f44bda7ca0b8a31a0211 /intern/cycles/integrator/render_scheduler.cpp
parent77061a5621015dfd0c9f89fd21cb23d706d0cec8 (diff)
Cleanup: spelling in comments
Diffstat (limited to 'intern/cycles/integrator/render_scheduler.cpp')
-rw-r--r--intern/cycles/integrator/render_scheduler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/cycles/integrator/render_scheduler.cpp b/intern/cycles/integrator/render_scheduler.cpp
index 4eb1dd941f9..3e5b3417a6a 100644
--- a/intern/cycles/integrator/render_scheduler.cpp
+++ b/intern/cycles/integrator/render_scheduler.cpp
@@ -233,7 +233,7 @@ void RenderScheduler::render_work_reschedule_on_cancel(RenderWork &render_work)
const bool has_rendered_samples = get_num_rendered_samples() != 0;
- /* Reset all fields of the previous work, canelling things like adaptive sampling filtering and
+ /* Reset all fields of the previous work, canceling things like adaptive sampling filtering and
* denoising.
* However, need to preserve write requests, since those will not be possible to recover and
* writes are only to happen once. */
@@ -246,7 +246,7 @@ void RenderScheduler::render_work_reschedule_on_cancel(RenderWork &render_work)
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
- * got cancelled. */
+ * got canceled. */
if (!state_.tile_result_was_written && has_rendered_samples) {
render_work.tile.write = true;
}
@@ -817,7 +817,7 @@ int RenderScheduler::get_num_samples_to_path_trace() const
int num_samples_to_render = min(num_samples_pot, max_num_samples_to_render);
- /* When enough statistics is available and doing an offlien rendering prefer to keep device
+ /* When enough statistics is available and doing an offline rendering prefer to keep device
* occupied. */
if (state_.occupancy_num_samples && (background_ || headless_)) {
/* Keep occupancy at about 0.5 (this is more of an empirical figure which seems to match scenes
@@ -874,7 +874,7 @@ int RenderScheduler::get_num_samples_during_navigation(int resolution_divider) c
/* Always render 4 samples, even if scene is configured for less.
* The idea here is to have enough information on the screen. Resolution divider of 2 allows us
- * to have 4 time extra samples, so verall worst case timing is the same as the final resolution
+ * to have 4 time extra samples, so overall worst case timing is the same as the final resolution
* at one sample. */
return 4;
}