From d19fe522e413af722ea5435bf8172152da89e8cc Mon Sep 17 00:00:00 2001 From: Habib Gahbiche Date: Thu, 30 Jan 2025 12:45:50 +0100 Subject: [PATCH] Fix box select ignoring selection mode in node editors Box select is broken for all node editors. It ignores selection modes and always uses the mode `Set a new selection`. The operator `NODE_OT_select_box` works fine, but clicking anywhere in the node editor calls `NODE_OT_select` first, so we need to make sure it has no undesired side effects when it is not run. Pull Request: https://projects.blender.org/blender/blender/pulls/133736 --- scripts/presets/keyconfig/keymap_data/blender_default.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/presets/keyconfig/keymap_data/blender_default.py b/scripts/presets/keyconfig/keymap_data/blender_default.py index 7f3619e1982..4a91cc52f14 100644 --- a/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -4694,7 +4694,7 @@ def _template_view3d_paint_mask_select_loop(params): def _template_node_select(*, type, value, select_passthrough): items = [ ("node.select", {"type": type, "value": value}, - {"properties": [("deselect_all", True), ("select_passthrough", select_passthrough)]}), + {"properties": [("deselect_all", False), ("select_passthrough", select_passthrough)]}), ("node.select", {"type": type, "value": value, "ctrl": True}, None), ("node.select", {"type": type, "value": value, "alt": True}, None), ("node.select", {"type": type, "value": value, "ctrl": True, "alt": True}, None),