From ac556c533791c50fd03029357eedce928991213b Mon Sep 17 00:00:00 2001 From: gmungoc Date: Thu, 10 Aug 2017 12:29:52 +0100 Subject: [PATCH] JAL-2660 used saved value of ignoreGapsInConsensus when loading (/copying) viewport --- src/jalview/gui/Jalview2XML.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 1.7.10.2