From: Jim Procter Date: Mon, 15 May 2017 11:07:39 +0000 (+0100) Subject: JAL-2371 create a default ResidueShader when constructing the viewport X-Git-Tag: Release_2_10_2~3^2~89^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=cefc9ee7eecba3a4441ea7399cfcc1fa75e1f38c;p=jalview.git JAL-2371 create a default ResidueShader when constructing the viewport --- 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)