Revision: 20110 http://sourceforge.net/p/jmol/code/20110 Author: hansonr Date: 2014-11-17 19:12:03 +0000 (Mon, 17 Nov 2014) Log Message: ----------- Jmol.___JmolVersion="14.3.9_2014.11.17"
bug fix: set labelOffset {1 2 3} or set labelOffset [1 2 3 4 5 6 7] fails if selection does not contain a label at each selected atom Modified Paths: -------------- trunk/Jmol/src/org/jmol/shape/Labels.java trunk/Jmol/src/org/jmol/viewer/Jmol.properties Modified: trunk/Jmol/src/org/jmol/shape/Labels.java =================================================================== --- trunk/Jmol/src/org/jmol/shape/Labels.java 2014-11-15 17:15:05 UTC (rev 20109) +++ trunk/Jmol/src/org/jmol/shape/Labels.java 2014-11-17 19:12:03 UTC (rev 20110) @@ -408,6 +408,8 @@ private void setPymolOffset(int i, float[] value) { Text text = getLabel(i); if (text == null) { + if (strings == null || strings.length <= i || strings[i] == null) + return; byte fid = (bsFontSet != null && bsFontSet.get(i) ? fids[i] : -1); if (fid < 0) setFont(i, fid = defaultFontId); Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2014-11-15 17:15:05 UTC (rev 20109) +++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2014-11-17 19:12:03 UTC (rev 20110) @@ -15,6 +15,12 @@ TODO: design and implement sidechain mutation -- MUTATE command ? TODO: remove HTML5 dependency on synchronous file loading (check SCRIPT command for problems) +Jmol.___JmolVersion="14.3.9_2014.11.17" + +bug fix: set labelOffset {1 2 3} or set labelOffset [1 2 3 4 5 6 7] + fails if selection does not contain a label at each selected atom + + Jmol.___JmolVersion="14.3.9_2014.11.15" new feature: VASP CHGCAR reader This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits