Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphEditor Connection Cutting #5689

Merged
merged 3 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
1.4.x.x (relative to 1.4.0.0b1)
=======

Features
--------

- GraphEditor : Added <kbd>X</kbd> shortcut for removing connections between nodules. Hold <kbd>X</kbd> then left click to remove all connections under the cursor. Hold <kbd>X</kbd> then left drag to draw a line, all connections that intersect with the line will be removed once the drag is ended (#788).

Improvements
------------

Expand Down
2 changes: 2 additions & 0 deletions doc/source/Interface/ControlsAndShortcuts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ Disconnect plug | {{leftClick}} and drag connection to back
Insert node onto connection | {{leftClick}} and drag node onto connection
Auto-arrange selected nodes | {kbd}`Ctrl` + {kbd}`L`
Duplicate outgoing connection | {kbd}`Shift` + {{leftClick}} and drag connection just before in plug
Disconnect connections under cursor | {kbd}`X` + {{leftClick}}
Disconnect connections under line | {kbd}`X` + {{leftClick}} and drag to draw a line, then release {{leftClick}}

### Focus Node ###

Expand Down
1 change: 1 addition & 0 deletions include/GafferUI/TypeIds.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ enum TypeId
ToolContainerTypeId = 110291,
FPSGadgetTypeId = 110292,
ViewDisplayTransformTypeId = 110293,
DragEditGadgetTypeId = 110294,

LastTypeId = 110450
};
Expand Down
2 changes: 2 additions & 0 deletions resources/graphics.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
"pointerRemove",
"pointerRotate",
"pointerPivot",
"pointerCut",
"pointerNotEditable",
]
},

Expand Down
42 changes: 42 additions & 0 deletions resources/graphics.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading