From cefc9ee7eecba3a4441ea7399cfcc1fa75e1f38c Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 15 May 2017 12:07:39 +0100 Subject: [PATCH] JAL-2371 create a default ResidueShader when constructing the viewport --- src/jalview/viewmodel/AlignmentViewport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/viewmodel/AlignmentViewport.java b/src/jalview/viewmodel/AlignmentViewport.java index 1e31ebc..cdf0758 100644 --- a/src/jalview/viewmodel/AlignmentViewport.java +++ b/src/jalview/viewmodel/AlignmentViewport.java @@ -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) -- 1.7.10.2