ImageAppendComponents ports and connections
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The SetInput(0, x), SetInput(1, y) methods appear to map inputs to separate ports.
The implementation of ImageAppendComponents appears to only look at input port 0 and assumes that multiple inputs are mapped as separate connections to this port.
This is just a best guess as to what the new pipeline architecture is doing when the legacy api is used.
Using SetInput(0, x), SetInput(0, y), and RemoveAllInputs() results in errors in Slicer because of input connections on port 1 with not input connections on port 0. Changing the Slicer code to use SetInputConnection(0, x) and AddInputConnection(0, y) removed the errors in Slicer.