equal
deleted
inserted
replaced
188 if output_name is not None: |
188 if output_name is not None: |
189 # Test each output connector |
189 # Test each output connector |
190 for output in self.Outputs: |
190 for output in self.Outputs: |
191 if output_name == output.GetName(): |
191 if output_name == output.GetName(): |
192 return output |
192 return output |
193 return self.FindNearestConnector(position, self.Inputs + self.Outputs) |
193 if input_name is None and output_name is None: |
|
194 return self.FindNearestConnector(position, self.Inputs + self.Outputs) |
|
195 return None |
194 |
196 |
195 def GetInputTypes(self): |
197 def GetInputTypes(self): |
196 return tuple([input.GetType(True) for input in self.Inputs if input.GetName() != "EN"]) |
198 return tuple([input.GetType(True) for input in self.Inputs if input.GetName() != "EN"]) |
197 |
199 |
198 def SetOutputValues(self, values): |
200 def SetOutputValues(self, values): |