Skip to content

Commit

Permalink
[ui] Graph: cleanup unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
yann-lty committed Nov 25, 2024
1 parent 1ff54d1 commit d6a89cb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions meshroom/ui/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit d6a89cb

Please sign in to comment.