From: amwaterhouse Date: Wed, 15 Jun 2005 15:05:22 +0000 (+0000) Subject: Check colours not null X-Git-Tag: Release_2_0~21 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=dcd8d3212242ef3bde7ff9d865f9dfb859407a30;p=jalview.git Check colours not null --- diff --git a/src/jalview/gui/TreeCanvas.java b/src/jalview/gui/TreeCanvas.java index 73b5b74..a293e28 100755 --- a/src/jalview/gui/TreeCanvas.java +++ b/src/jalview/gui/TreeCanvas.java @@ -576,12 +576,10 @@ public class TreeCanvas cs, true, true, false, 0, av.alignment.getWidth()); - + if(sg.cs !=null) ( (ResidueColourScheme) sg.cs).setThreshold(25); - - if (av.getGlobalColourScheme() instanceof ConservationColourScheme) { ConservationColourScheme ccs = (ConservationColourScheme) av.