From cc6ec71b1934b5489caa538c13d290b45d2b1aa5 Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Tue, 17 Nov 2020 22:33:09 +0100 Subject: Sculpt: Wet paint area radius This adds a new property to the sculpt vertex color paint brush to limit the area of the brush that is going to be used to sample the wet paint color. This is exactly the same concept as normal radius and area radius that exist for sculpting brushes for sampling the surface depth and orientation. When working near color hard edges, this allows to prevent the color from the other side of the edge to blend into the wet paint. With 1.0 (the previous default) wet paint radius, as soon as the brush touches one vertex of the other color, the wet paint mix color changes, making it impossible to maintain the border between the two colors. Reviewed By: sergey, dbystedt, JulienKaspar Differential Revision: https://developer.blender.org/D9587 --- release/scripts/startup/bl_ui/properties_paint_common.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py index 63ccbd2ae05..3075d76d6fa 100644 --- a/release/scripts/startup/bl_ui/properties_paint_common.py +++ b/release/scripts/startup/bl_ui/properties_paint_common.py @@ -716,6 +716,9 @@ def brush_settings(layout, context, brush, popover=False): row.prop(brush, "invert_wet_persistence_pressure", text="") row.prop(brush, "use_wet_persistence_pressure", text="") + row = layout.row(align=True) + row.prop(brush, "wet_paint_radius_factor") + row = layout.row(align=True) row.prop(brush, "density") row.prop(brush, "invert_density_pressure", text="") -- cgit v1.2.3