From: gmungoc Date: Thu, 10 Aug 2017 11:29:52 +0000 (+0100) Subject: JAL-2660 used saved value of ignoreGapsInConsensus when loading X-Git-Tag: Release_2_10_3b1~132^2~5 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=ac556c533791c50fd03029357eedce928991213b;p=jalview.git JAL-2660 used saved value of ignoreGapsInConsensus when loading (/copying) viewport --- diff --git a/src/jalview/gui/Jalview2XML.java b/src/jalview/gui/Jalview2XML.java index d472ef8..ffbe6a1 100644 --- a/src/jalview/gui/Jalview2XML.java +++ b/src/jalview/gui/Jalview2XML.java @@ -4489,8 +4489,8 @@ public class Jalview2XML } af.viewport.setGlobalColourScheme(cs); - af.viewport.getResidueShading().setThreshold( - view.getPidThreshold(), true); + af.viewport.getResidueShading().setThreshold(view.getPidThreshold(), + view.getIgnoreGapsinConsensus()); af.viewport.getResidueShading().setConsensus( af.viewport.getSequenceConsensusHash()); af.viewport.setColourAppliesToAllGroups(false);