Cleanup: correction to repeated word removal & correct spelling

This commit is contained in:
Campbell Barton 2022-02-23 20:46:48 +11:00
parent 7393cc1db7
commit 66c0fe5b23
2 changed files with 3 additions and 3 deletions

View File

@ -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, treat it similarly to all other tiles which
/* Do not write tile if it has zero samples in 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;

View File

@ -86,7 +86,7 @@ void set_imapaintpartial(struct ImagePaintPartialRedraw *ippr)
imapaintpartial = *ippr;
}
/* Imagepaint Partial Redraw & Dirty Region */
/* Image paint Partial Redraw & Dirty Region. */
void ED_imapaint_clear_partial_redraw(void)
{
@ -356,7 +356,7 @@ void paint_brush_color_get(struct Scene *scene,
break;
}
}
/* Gradient / Colorband colors are not considered PROP_COLOR_GAMMA.
/* Gradient / Color-band colors are not considered #PROP_COLOR_GAMMA.
* Brush colors are expected to be in sRGB though. */
IMB_colormanagement_scene_linear_to_srgb_v3(color_gr);