[Bf-blender-cvs] [d8e2f612ec5] master: Cleaunp: Modify comment

Antonio Vazquez noreply at git.blender.org
Mon Feb 14 16:39:12 CET 2022


Commit: d8e2f612ec52ce0272cbc8a5e9ff0c6b89ce16a6
Author: Antonio Vazquez
Date:   Mon Feb 14 16:39:06 2022 +0100
Branches: master
https://developer.blender.org/rBd8e2f612ec52ce0272cbc8a5e9ff0c6b89ce16a6

Cleaunp: Modify comment

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

M	source/blender/editors/gpencil/gpencil_fill.c

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

diff --git a/source/blender/editors/gpencil/gpencil_fill.c b/source/blender/editors/gpencil/gpencil_fill.c
index 8095cc479bc..8be34a35ca9 100644
--- a/source/blender/editors/gpencil/gpencil_fill.c
+++ b/source/blender/editors/gpencil/gpencil_fill.c
@@ -1239,7 +1239,7 @@ static bool contract_shape(ImBuf *ibuf)
   const float clear[4] = {0.0f, 0.0f, 0.0f, 0.0f};
   const int max_size = (ibuf->x * ibuf->y) - 1;
 
-  /* detect pixels and expand into red areas */
+  /* Detect if pixel is near of no green pixels and mark green to be cleared. */
   for (int row = 0; row < ibuf->y; row++) {
     if (!is_row_filled(ibuf, row)) {
       continue;



More information about the Bf-blender-cvs mailing list