Commit: 004172de38d5483b715a5b13d06c2aa5dd3de3f5 Author: Martijn Versteegh Date: Fri Nov 26 10:56:58 2021 +0100 Branches: master https://developer.blender.org/rB004172de38d5483b715a5b13d06c2aa5dd3de3f5
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 =================================================================== M source/blender/imbuf/intern/filter.c =================================================================== 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) { _______________________________________________ Bf-blender-cvs mailing list [email protected] List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs
