From: <ha...@us...> - 2014-06-13 16:40:20
|
Revision: 19834 http://sourceforge.net/p/jmol/code/19834 Author: hansonr Date: 2014-06-13 16:40:09 +0000 (Fri, 13 Jun 2014) Log Message: ----------- Modified Paths: -------------- branches/v14_2/Jmol/src/org/jmol/modelset/ModelSet.java trunk/Jmol/src/org/jmol/modelset/ModelSet.java Modified: branches/v14_2/Jmol/src/org/jmol/modelset/ModelSet.java =================================================================== --- branches/v14_2/Jmol/src/org/jmol/modelset/ModelSet.java 2014-06-13 15:56:54 UTC (rev 19833) +++ branches/v14_2/Jmol/src/org/jmol/modelset/ModelSet.java 2014-06-13 16:40:09 UTC (rev 19834) @@ -2350,9 +2350,9 @@ int ia = ((BS) specInfo).nextSetBit(0); if (ia < 0) return new BS(); - if (at[ia].getGroup3(true) != null) + if (at[ia].group.isProtein) return at[ia].group.getBSSideChain(); - // treat as molecule if not PDB residue; + // treat as molecule if not PDB protein; //$FALL-THROUGH$ case T.molecule: return getMoleculeBitSet((BS) specInfo); Modified: trunk/Jmol/src/org/jmol/modelset/ModelSet.java =================================================================== --- trunk/Jmol/src/org/jmol/modelset/ModelSet.java 2014-06-13 15:56:54 UTC (rev 19833) +++ trunk/Jmol/src/org/jmol/modelset/ModelSet.java 2014-06-13 16:40:09 UTC (rev 19834) @@ -2350,9 +2350,9 @@ int ia = ((BS) specInfo).nextSetBit(0); if (ia < 0) return new BS(); - if (at[ia].getGroup3(true) != null) + if (at[ia].group.isProtein) return at[ia].group.getBSSideChain(); - // treat as molecule if not PDB residue; + // treat as molecule if not PDB protein; //$FALL-THROUGH$ case T.molecule: return getMoleculeBitSet((BS) specInfo); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |