From: Jim Procter Date: Sun, 12 Feb 2012 15:02:53 +0000 (+0000) Subject: (JAL-1049) only store state reference for sequence we are creating PDBentry for X-Git-Tag: Archived_Release_2_7~10 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d4361e0bc5b31c5c659edef5ec825dbdb0615571;p=jalview.git (JAL-1049) only store state reference for sequence we are creating PDBentry for --- diff --git a/src/jalview/gui/Jalview2XML.java b/src/jalview/gui/Jalview2XML.java index cb29ab5..e259309 100644 --- a/src/jalview/gui/Jalview2XML.java +++ b/src/jalview/gui/Jalview2XML.java @@ -612,7 +612,8 @@ public class Jalview2XML for (int smap = 0; smap < jmol.jmb.sequence[peid].length; smap++) { - if (jal.findIndex(jmol.jmb.sequence[peid][smap]) > -1) +// if (jal.findIndex(jmol.jmb.sequence[peid][smap]) > -1) + if (jds==jmol.jmb.sequence[peid][smap]) { StructureState state = new StructureState(); state.setVisible(true);