We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac9201a commit 954ef06Copy full SHA for 954ef06
src/main/java/bdv/tools/links/BdvPropertiesV0.java
@@ -117,7 +117,7 @@ private static List< SourceConverterConfig > getSourceConverterConfigs( final Li
117
{
118
final ConverterSetup setup = converterSetups.getConverterSetup( soc );
119
final boolean hasColor = setup.supportsColor();
120
- final int color = setup.getColor().get();
+ final int color = hasColor ? setup.getColor().get() : 0;
121
final double min = setup.getDisplayRangeMin();
122
final double max = setup.getDisplayRangeMax();
123
final Bounds bounds = converterSetups.getBounds().getBounds( setup );
0 commit comments