Skip to content

Commit d6a89cb

Browse files
committed
[ui] Graph: cleanup unused function
1 parent 1ff54d1 commit d6a89cb

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

meshroom/ui/graph.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -651,12 +651,6 @@ def addNewNode(self, nodeType, position=None, **kwargs):
651651
position = Position(position.x(), position.y())
652652
return self.push(commands.AddNodeCommand(self._graph, nodeType, position=position, **kwargs))
653653

654-
def filterNodes(self, nodes):
655-
"""Filter out the nodes that do not exist on the graph."""
656-
if not isinstance(nodes, Iterable):
657-
nodes = [nodes]
658-
return [ n for n in nodes if n in self._graph.nodes.values() ]
659-
660654
def moveNode(self, node: Node, position: Position):
661655
"""
662656
Move `node` to the given `position`.

0 commit comments

Comments
 (0)