diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py index d9e17302177..b02454cfa86 100644 --- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -5050,30 +5050,33 @@ def km_sculpt(params): # Expand ("sculpt.expand", {"type": 'A', "value": 'PRESS', "shift": True}, {"properties": [ - ("target", "MASK"), - ("falloff_type", "GEODESIC"), - ("invert", True), - ("use_auto_mask", True), - ("use_mask_preserve" , True)]}), + ("target", "MASK"), + ("falloff_type", "GEODESIC"), + ("invert", True), + ("use_auto_mask", True), + ("use_mask_preserve", True), + ]}), ("sculpt.expand", {"type": 'A', "value": 'PRESS', "shift": True, "alt": True}, {"properties": [ - ("target", "MASK"), - ("falloff_type", "NORMALS"), - ("invert", False), - ("use_mask_preserve" , True)]}), + ("target", "MASK"), + ("falloff_type", "NORMALS"), + ("invert", False), + ("use_mask_preserve", True), + ]}), ("sculpt.expand", {"type": 'W', "value": 'PRESS', "shift": True}, {"properties": [ ("target", "FACE_SETS"), ("falloff_type", "GEODESIC"), ("invert", False), - ("use_mask_preserve" , False), - ("use_modify_active", False)]}), + ("use_mask_preserve", False), + ("use_modify_active", False), + ]}), ("sculpt.expand", {"type": 'W', "value": 'PRESS', "shift": True, "alt": True}, {"properties": [ ("target", "FACE_SETS"), ("falloff_type", "BOUNDARY_FACE_SET"), ("invert", False), - ("use_mask_preserve" , False), + ("use_mask_preserve", False), ("use_modify_active", True), ]}), # Partial Visibility Show/hide diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 311fe6076db..3e0dafac887 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -723,8 +723,18 @@ class VIEW3D_HT_header(Header): row = layout.row(align=True) domain = curves.selection_domain - row.operator("curves.set_selection_domain", text="", icon='CURVE_BEZCIRCLE', depress=(domain == 'POINT')).domain = 'POINT' - row.operator("curves.set_selection_domain", text="", icon='CURVE_PATH', depress=(domain == 'CURVE')).domain = 'CURVE' + row.operator( + "curves.set_selection_domain", + text="", + icon='CURVE_BEZCIRCLE', + depress=(domain == 'POINT'), + ).domain = 'POINT' + row.operator( + "curves.set_selection_domain", + text="", + icon='CURVE_PATH', + depress=(domain == 'CURVE'), + ).domain = 'CURVE' # Grease Pencil if obj and obj.type == 'GPENCIL' and context.gpencil_data: