From: <ha...@us...> - 2010-01-24 01:26:13
|
Revision: 12197 http://jmol.svn.sourceforge.net/jmol/?rev=12197&view=rev Author: hansonr Date: 2010-01-24 01:26:07 +0000 (Sun, 24 Jan 2010) Log Message: ----------- Modified Paths: -------------- trunk/Jmol/src/org/jmol/modelset/Atom.java Modified: trunk/Jmol/src/org/jmol/modelset/Atom.java =================================================================== --- trunk/Jmol/src/org/jmol/modelset/Atom.java 2010-01-24 01:13:28 UTC (rev 12196) +++ trunk/Jmol/src/org/jmol/modelset/Atom.java 2010-01-24 01:26:07 UTC (rev 12197) @@ -938,7 +938,10 @@ // if it does not show up itself as part of the structure // (this will be a difference in terms of *clickability*). // except BACKBONE - flags |= group.shapeVisibilityFlags & ~JmolConstants.getShapeVisibilityFlag(JmolConstants.SHAPE_BACKBONE); + flags |= group.shapeVisibilityFlags; + if (getSpecialAtomID() != JmolConstants.ATOMID_ALPHA_CARBON) + flags &= ~JmolConstants.BACKBONE_VISIBILITY_FLAG; + // We know that (flags & AIM), so now we must remove that flag // and check to see if any others are remaining. // Only then is the atom considered visible. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |