Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-04-04 05:31:28 +0300
committerCampbell Barton <campbell@blender.org>2022-04-04 05:35:33 +0300
commite26cc6aee31afd3927ce06d31d4aafa3f7317fb5 (patch)
tree9633155e1c789b48215e39f3b151a0dc70e73576 /release/scripts/presets
parent85a0115c4470e7a2170d96b7bdafb0f98d57fe05 (diff)
Cleanup: indentation
Diffstat (limited to 'release/scripts/presets')
-rw-r--r--release/scripts/presets/keyconfig/keymap_data/blender_default.py29
1 files changed, 15 insertions, 14 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py
index c9a378a101f..d05e9f8b7f8 100644
--- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py
+++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py
@@ -133,6 +133,7 @@ class Params:
self.tool_maybe_tweak_value = 'PRESS'
else:
self.tool_maybe_tweak_value = 'CLICK_DRAG'
+
self.use_tweak_tool_lmb_interaction = use_tweak_tool_lmb_interaction
self.context_menu_event = {"type": 'W', "value": 'PRESS'}
@@ -574,18 +575,18 @@ def km_window(params):
{"type": k, "value": 'PRESS', "shift": True},
{"properties": [("space_type", t)]})
for k, t in (
- ('F1', 'FILE_BROWSER'),
- ('F2', 'CLIP_EDITOR'),
- ('F3', 'NODE_EDITOR'),
- ('F4', 'CONSOLE'),
- ('F5', 'VIEW_3D'),
- ('F6', 'GRAPH_EDITOR'),
- ('F7', 'PROPERTIES'),
- ('F8', 'SEQUENCE_EDITOR'),
- ('F9', 'OUTLINER'),
- ('F10', 'IMAGE_EDITOR'),
- ('F11', 'TEXT_EDITOR'),
- ('F12', 'DOPESHEET_EDITOR'),
+ ('F1', 'FILE_BROWSER'),
+ ('F2', 'CLIP_EDITOR'),
+ ('F3', 'NODE_EDITOR'),
+ ('F4', 'CONSOLE'),
+ ('F5', 'VIEW_3D'),
+ ('F6', 'GRAPH_EDITOR'),
+ ('F7', 'PROPERTIES'),
+ ('F8', 'SEQUENCE_EDITOR'),
+ ('F9', 'OUTLINER'),
+ ('F10', 'IMAGE_EDITOR'),
+ ('F11', 'TEXT_EDITOR'),
+ ('F12', 'DOPESHEET_EDITOR'),
)
),
@@ -2136,7 +2137,7 @@ def km_node_editor(params):
("wm.context_menu_enum", {"type": 'TAB', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties": [("data_path", 'tool_settings.snap_node_element')]}),
("wm.context_toggle", {"type": 'Z', "value": 'PRESS', "alt": True, "shift": True},
- {"properties": [("data_path", "space_data.overlay.show_overlays")]}),
+ {"properties": [("data_path", "space_data.overlay.show_overlays")]}),
*_template_items_context_menu("NODE_MT_context_menu", params.context_menu_event),
])
@@ -7109,7 +7110,7 @@ def km_3d_view_tool_edit_curve_pen(params):
("select_point", True),
("move_point", True),
("close_spline_method", "ON_CLICK"),
- ]}),
+ ]}),
("curve.pen", {"type": params.tool_mouse, "value": 'PRESS', "ctrl": True},
{"properties": [("insert_point", True), ("delete_point", True)]}),
("curve.pen", {"type": params.tool_mouse, "value": 'DOUBLE_CLICK'},