Skip to content

Commit

Permalink
IRSA-4793: fixed: three color bug- failed on red disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
robyww committed Sep 7, 2022
1 parent c1c61ef commit 13dcb16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
public class ImageStretch {

private static boolean isHuePreserving(RangeValues rv) {
return rv.rgbPreserveHue();
return rv!=null ? rv.rgbPreserveHue() : false;
}


Expand Down

0 comments on commit 13dcb16

Please sign in to comment.