From: gmungoc Date: Fri, 28 Apr 2017 14:55:32 +0000 (+0100) Subject: JAL-2495 highlight all mapped sequences from structure pick X-Git-Tag: Release_2_10_3b1~80 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=47018371de707a8932377aed95424b3090e0c944;p=jalview.git JAL-2495 highlight all mapped sequences from structure pick --- diff --git a/src/jalview/structure/StructureSelectionManager.java b/src/jalview/structure/StructureSelectionManager.java index b973f45..b89fb42 100644 --- a/src/jalview/structure/StructureSelectionManager.java +++ b/src/jalview/structure/StructureSelectionManager.java @@ -844,7 +844,7 @@ public class StructureSelectionManager && sm.pdbchain.equals(atom.getChain())) { int indexpos = sm.getSeqPos(atom.getPdbResNum()); - if (lastipos != indexpos && lastseq != sm.sequence) + if (lastipos != indexpos || lastseq != sm.sequence) { results.addResult(sm.sequence, indexpos, indexpos); lastipos = indexpos;