mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-02 16:28:51 +02:00
Add a "Paste Node(s)" option in the nodes' right click menu
The "Paste Node(s)" option copies the selected nodes to the clipboard (as does the "Copy Node(s)" option) and immediately pastes them into the graph.
This commit is contained in:
parent
d06acf6722
commit
6bb0ad4508
1 changed files with 12 additions and 0 deletions
|
@ -408,8 +408,20 @@ Item {
|
|||
MenuItem {
|
||||
text: "Copy Node(s)"
|
||||
enabled: true
|
||||
ToolTip.text: "Copy selection to the clipboard"
|
||||
ToolTip.visible: hovered
|
||||
onTriggered: copyNodes()
|
||||
}
|
||||
MenuItem {
|
||||
text: "Paste Node(s)"
|
||||
enabled: true
|
||||
ToolTip.text: "Copy selection to the clipboard and immediately paste it"
|
||||
ToolTip.visible: hovered
|
||||
onTriggered: {
|
||||
copyNodes();
|
||||
pasteNodes();
|
||||
}
|
||||
}
|
||||
MenuItem {
|
||||
text: "Duplicate Node(s)" + (duplicateFollowingButton.hovered ? " From Here" : "")
|
||||
enabled: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue