[Bf-blender-cvs] [66c0fe5b234] master: Cleanup: correction to repeated word removal & correct spelling

Campbell Barton noreply at git.blender.org
Wed Feb 23 10:48:07 CET 2022


Commit: 66c0fe5b234fad377c21c25dc406309abcd57656
Author: Campbell Barton
Date:   Wed Feb 23 20:46:48 2022 +1100
Branches: master
https://developer.blender.org/rB66c0fe5b234fad377c21c25dc406309abcd57656

Cleanup: correction to repeated word removal & correct spelling

===================================================================

M	intern/cycles/integrator/render_scheduler.cpp
M	source/blender/editors/sculpt_paint/paint_image.cc

===================================================================

diff --git a/intern/cycles/integrator/render_scheduler.cpp b/intern/cycles/integrator/render_scheduler.cpp
index 0d8aef106e4..90a5a01320b 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, 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;
diff --git a/source/blender/editors/sculpt_paint/paint_image.cc b/source/blender/editors/sculpt_paint/paint_image.cc
index 9413f872c3a..0c73c2e1f43 100644
--- a/source/blender/editors/sculpt_paint/paint_image.cc
+++ b/source/blender/editors/sculpt_paint/paint_image.cc
@@ -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);



More information about the Bf-blender-cvs mailing list