[Bf-blender-cvs] [75cd1fdc0a1] master: Cleanup: format
Campbell Barton
noreply at git.blender.org
Tue Jan 3 01:40:26 CET 2023
Commit: 75cd1fdc0a16630dfe33a42d0c4026bbbfb3c29c
Author: Campbell Barton
Date: Tue Jan 3 11:03:50 2023 +1100
Branches: master
https://developer.blender.org/rB75cd1fdc0a16630dfe33a42d0c4026bbbfb3c29c
Cleanup: format
===================================================================
M release/scripts/presets/keyconfig/keymap_data/blender_default.py
M release/scripts/startup/bl_ui/space_view3d.py
===================================================================
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:
More information about the Bf-blender-cvs
mailing list