From: Michael T H. <mic...@us...> - 2003-09-14 06:39:23
|
Update of /cvsroot/jmol/Jmol/src/org/openscience/jmol/viewer/datamodel In directory sc8-pr-cvs1:/tmp/cvs-serv10047/src/org/openscience/jmol/viewer/datamodel Modified Files: Dots.java Log Message: JmolAppletControls now can drive the JmolApplet Index: Dots.java =================================================================== RCS file: /cvsroot/jmol/Jmol/src/org/openscience/jmol/viewer/datamodel/Dots.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- Dots.java 12 Sep 2003 12:02:08 -0000 1.15 +++ Dots.java 14 Sep 2003 06:39:18 -0000 1.16 @@ -166,7 +166,11 @@ calcCavities(); } } else { - bsDotsOn.andNot(bsSelected); + // turn off the selected dots + // 1.1 jvm does not have BitSet.andNot() + for (int i = atomShapeCount; --i >= 0; ) + if (bsSelected.get(i)) + bsDotsOn.clear(i); int i; for (i = atomShapeCount; --i >= 0 && !bsDotsOn.get(i); ) {} |