mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-28 09:47:20 +02:00
[ui] Graph: Remove unused moveNodesBy function
With Selection approach on children of backdrop, selected nodes can directly be moved without having the need for a specific function
This commit is contained in:
parent
499c99469e
commit
cca0bb1a77
1 changed files with 0 additions and 9 deletions
|
@ -735,15 +735,6 @@ class UIGraph(QObject):
|
|||
position = Position(node.x + offset.x(), node.y + offset.y())
|
||||
self.moveNode(node, position)
|
||||
|
||||
@Slot(list, QPoint)
|
||||
def moveNodesBy(self, nodes, offset: QPoint):
|
||||
"""Move all the selected nodes by the given `offset`."""
|
||||
|
||||
with self.groupedGraphModification("Move Nodes"):
|
||||
for node in nodes:
|
||||
position = Position(node.x + offset.x(), node.y + offset.y())
|
||||
self.moveNode(node, position)
|
||||
|
||||
@Slot()
|
||||
def removeSelectedNodes(self):
|
||||
"""Remove selected nodes from the graph."""
|
||||
|
|
Loading…
Add table
Reference in a new issue