Nodes: new interactive operator to slide nodes #121981

Open
Jacques Lucke wants to merge 24 commits from JacquesLucke/blender:slide-nodes into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit 35a68eaafa - Show all commits

View File

@ -2254,7 +2254,7 @@ def km_node_editor(params):
("node.translate_attach", {"type": params.select_mouse, "value": 'CLICK_DRAG'},
{"properties": [("TRANSFORM_OT_translate", [("view2d_edge_pan", True)])]}),
)),
("node.slide", {"type" : 'LEFTMOUSE', "value": 'PRESS', "key_modifier": 'V'}, None),
("node.slide", {"type": 'LEFTMOUSE', "value": 'PRESS', "key_modifier": 'V'}, None),
("transform.translate", {"type": 'G', "value": 'PRESS'}, {"properties": [("view2d_edge_pan", True)]}),
("transform.translate", {"type": 'LEFTMOUSE', "value": 'CLICK_DRAG'},
{"properties": [("release_confirm", True), ("view2d_edge_pan", True)]}),