From eae36be372a6b16ee3e76eff0485a47da4f3c230 Mon Sep 17 00:00:00 2001 From: Joseph Eagar Date: Tue, 5 Apr 2022 11:42:55 -0700 Subject: Refactor: Unify vertex and sculpt colors into new color attribute system. This commit removes sculpt colors from experimental status and unifies it with vertex colors. It introduces the concept of "color attributes", which are any attributes that represents colors. Color attributes can be represented with byte or floating-point numbers and can be stored in either vertices or face corners. Color attributes share a common namespace (so you can no longer have a floating-point sculpt color attribute and a byte vertex color attribute with the same name). Note: this commit does not include vertex paint mode, which is a separate patch, see: https://developer.blender.org/D14179 Differential Revision: https://developer.blender.org/D12587 Ref D12587 --- release/scripts/presets/keyconfig/keymap_data/blender_default.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'release/scripts/presets/keyconfig/keymap_data/blender_default.py') diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py index 0422f1afc58..399c4519635 100644 --- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -7372,8 +7372,7 @@ def km_3d_view_tool_sculpt_mask_by_color(params): "3D View Tool: Sculpt, Mask by Color", {"space_type": 'VIEW_3D', "region_type": 'WINDOW'}, {"items": [ - ("sculpt.mask_by_color", {"type": params.tool_mouse, "value": 'ANY'}, None), - ("sculpt.mask_by_color", params.tool_tweak_event, None), + ("sculpt.mask_by_color", {"type": params.tool_mouse, "value": 'CLICK'}, None) ]}, ) -- cgit v1.2.3