[Bf-blender-cvs] [4c9846eeae0] master: Cleanup: Modify comment

Antonio Vazquez noreply at git.blender.org
Fri Feb 25 11:24:54 CET 2022


Commit: 4c9846eeae03c8224d9d5dd9d26cdcf9a43da252
Author: Antonio Vazquez
Date:   Fri Feb 25 11:24:45 2022 +0100
Branches: master
https://developer.blender.org/rB4c9846eeae03c8224d9d5dd9d26cdcf9a43da252

Cleanup: 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 2ff12d2246c..069493025dc 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 pixel 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