mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-19 01:27:31 +02:00
[tests] update node duplication test
This commit is contained in:
parent
acf1bf2116
commit
55b16bc6d3
3 changed files with 9 additions and 11 deletions
|
@ -112,8 +112,7 @@ Item {
|
|||
|
||||
onPressed: {
|
||||
if (mouse.button != Qt.MiddleButton && mouse.modifiers == Qt.NoModifier) {
|
||||
selectNode(null)
|
||||
uigraph.clearNodesSelections()
|
||||
uigraph.clearNodeSelection()
|
||||
}
|
||||
if (mouse.button == Qt.LeftButton && (mouse.modifiers == Qt.NoModifier || mouse.modifiers == Qt.ControlModifier)) {
|
||||
boxSelect.startX = mouseX
|
||||
|
@ -460,11 +459,11 @@ Item {
|
|||
} else if (mouse.modifiers & Qt.AltModifier) {
|
||||
duplicateNode(node, true)
|
||||
} else if (!mainSelected && !selected) {
|
||||
uigraph.clearNodesSelections()
|
||||
uigraph.clearNodeSelection()
|
||||
}
|
||||
} else if (mouse.button == Qt.RightButton) {
|
||||
if (!mainSelected && !selected) {
|
||||
uigraph.clearNodesSelections()
|
||||
uigraph.clearNodeSelection()
|
||||
}
|
||||
nodeMenu.currentNode = node
|
||||
nodeMenu.popup()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue