if slot._optional:
return
newly_unready_slots = []
def setunready(s):
for ss in s._subSlots:
setunready(ss)
was_ready = s.meta._ready
s.meta._ready &= (s.partner is not None)
if was_ready and s.meta._ready:
newly_unready_slots.append(s)
// All unconnected outputs are no longer ready
for oslot in self.outputs.values():
setunready(oslot)
// If the ready status changed, signal it.
for s in newly_unready_slots:
s._sig_unready(s)
s._changed()
def setupOutputs(self):
This method is called when all input slots of an operator
are successfully connected, a successful connection is also
established if the input slot is not connected to another