def setOutputChannel(self, ch, flag):
        """
		Mark a channel as being part of the output
		"""
        # We duplicate a bit of functionality from combined data unit
        # with this, but because they need to function differently, it
        # is easier than to duplicate the doPreview() function
        self.sourceunits[ch].getSettings().set("PreviewChannel", flag)
        CombinedDataUnit.setOutputChannel(self, ch, flag)
Пример #2
0
    def setOutputChannel(self, ch, flag):
        """
		Mark a channel as being part of the output
		"""
        # We duplicate a bit of functionality from combined data unit
        # with this, but because they need to function differently, it
        # is easier than to duplicate the doPreview() function
        self.sourceunits[ch].getSettings().set("PreviewChannel", flag)
        CombinedDataUnit.setOutputChannel(self, ch, flag)