From cca0bb1a771f35d1aa7f532ec742c0f5fb24104b Mon Sep 17 00:00:00 2001 From: waaake Date: Thu, 13 Feb 2025 07:14:32 +0100 Subject: [PATCH] [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 --- meshroom/ui/graph.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/meshroom/ui/graph.py b/meshroom/ui/graph.py index f7962b55..53b9bdcc 100644 --- a/meshroom/ui/graph.py +++ b/meshroom/ui/graph.py @@ -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."""