Esempio n. 1
0
 def __init__(self, output):
     self.input = None
     self.output = output
     self.output.connections.append(self)
     application = output.node.application
     self.canvas = application.canvas
     self.canvas.add(self)
     Dropable.__init__(self, layer=application.workspace)
Esempio n. 2
0
 def find_slots(self):
     slots = Dropable.find_slots(self)
     nodes = self.output.node.branch_nodes
     return [slot for slot in slots if slot.node not in nodes]