From: <ha...@us...> - 2006-10-12 05:51:53
|
Revision: 5923 http://svn.sourceforge.net/jmol/?rev=5923&view=rev Author: hansonr Date: 2006-10-11 22:51:49 -0700 (Wed, 11 Oct 2006) Log Message: ----------- bug fix for polyhedra+hidden -- if(bsHidden.get(i)) was in the wrong place. Modified Paths: -------------- trunk/Jmol/src/org/jmol/viewer/Balls.java Modified: trunk/Jmol/src/org/jmol/viewer/Balls.java =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Balls.java 2006-10-12 05:19:11 UTC (rev 5922) +++ trunk/Jmol/src/org/jmol/viewer/Balls.java 2006-10-12 05:51:49 UTC (rev 5923) @@ -87,12 +87,12 @@ ~JmolConstants.ATOM_IN_MODEL & ~myVisibilityFlag); if (atom.madAtom == JmolConstants.MAR_DELETED - || ! showHydrogens && atom.getElementNumber() == 1 || frame.bsHidden.get(i)) + || ! showHydrogens && atom.getElementNumber() == 1) continue; if (! isOneFrame && bs.get(atom.modelIndex) || atom.modelIndex == displayModelIndex) { atom.shapeVisibilityFlags |= JmolConstants.ATOM_IN_MODEL; - if (atom.madAtom != 0) + if (atom.madAtom != 0 && !frame.bsHidden.get(i)) atom.shapeVisibilityFlags |= myVisibilityFlag; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |