diff options
author | Martijn Versteegh <Baardaap> | 2021-11-26 12:56:58 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2021-11-26 12:57:17 +0300 |
commit | 004172de38d5483b715a5b13d06c2aa5dd3de3f5 (patch) | |
tree | d9e03972b3aca4afd011021c128a708cefdd1f4a /source/blender/imbuf/intern/filter.c | |
parent | 6b5e1cfacab4c4605ec2d7bfef360389afe849be (diff) |
Clarify a confusing comment.
Affect and effect are too confusing for non-native english speakers
(like me). Also BAKING_MASK_MARGIN doesn't exist anymore in the code.
Reviewed By: sergey
Differential Revision: https://developer.blender.org/D13361
Diffstat (limited to 'source/blender/imbuf/intern/filter.c')
-rw-r--r-- | source/blender/imbuf/intern/filter.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/imbuf/intern/filter.c b/source/blender/imbuf/intern/filter.c index 343c8cd8f64..97d44af1315 100644 --- a/source/blender/imbuf/intern/filter.c +++ b/source/blender/imbuf/intern/filter.c @@ -422,9 +422,9 @@ static int check_pixel_assigned( /** * if alpha is zero, it checks surrounding pixels and averages color. sets new alphas to 1.0 - * - * When a mask is given, only effect pixels with a mask value of 1, - * defined as #BAKE_MASK_MARGIN in rendercore.c + * When a mask is given, the mask will be used instead of the alpha channel, where only + * pixels with a mask value of 0 will be written to, and only pixels with a mask value of 1 + * will be used for the average. The mask will be set to one for the pixels which were written. */ void IMB_filter_extend(struct ImBuf *ibuf, char *mask, int filter) { |