Skip to content

Commit f480c73

Browse files
committed
Merge pull request #362 from JLLeitschuh/fix/desaturateFeedsBackIntoPreviousStep
Fixes Desaturate Feeding back into the previous step
2 parents f660d0c + 0c3dc29 commit f480c73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/edu/wpi/grip/core/operations/composite/DesaturateOperation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public void perform(InputSocket<?>[] inputs, OutputSocket<?>[] outputs) {
5454
switch (input.channels()) {
5555
case 1:
5656
// If the input is already one channel, it's already desaturated
57-
output = input;
57+
input.copyTo(output);
5858
break;
5959

6060
case 3:

0 commit comments

Comments
 (0)