JAL-2660 used saved value of ignoreGapsInConsensus when loading
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 10 Aug 2017 11:29:52 +0000 (12:29 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 10 Aug 2017 11:29:52 +0000 (12:29 +0100)
(/copying) viewport

src/jalview/gui/Jalview2XML.java

index d472ef8..ffbe6a1 100644 (file)
@@ -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);