JAL-2371 create a default ResidueShader when constructing the viewport
authorJim Procter <jprocter@issues.jalview.org>
Mon, 15 May 2017 11:07:39 +0000 (12:07 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 15 May 2017 11:07:39 +0000 (12:07 +0100)
src/jalview/viewmodel/AlignmentViewport.java

index 1e31ebc..cdf0758 100644 (file)
@@ -609,7 +609,7 @@ public abstract class AlignmentViewport implements AlignViewportI,
 
   protected boolean ignoreGapsInConsensusCalculation = false;
 
-  protected ResidueShaderI residueShading;
+  protected ResidueShaderI residueShading = new ResidueShader();
 
   @Override
   public void setGlobalColourScheme(ColourSchemeI cs)