diff --git a/meshroom/ui/graph.py b/meshroom/ui/graph.py index f260859609..300b5828ac 100644 --- a/meshroom/ui/graph.py +++ b/meshroom/ui/graph.py @@ -651,12 +651,6 @@ def addNewNode(self, nodeType, position=None, **kwargs): position = Position(position.x(), position.y()) return self.push(commands.AddNodeCommand(self._graph, nodeType, position=position, **kwargs)) - def filterNodes(self, nodes): - """Filter out the nodes that do not exist on the graph.""" - if not isinstance(nodes, Iterable): - nodes = [nodes] - return [ n for n in nodes if n in self._graph.nodes.values() ] - def moveNode(self, node: Node, position: Position): """ Move `node` to the given `position`.