Revision: 20695 http://sourceforge.net/p/jmol/code/20695 Author: hansonr Date: 2015-08-13 05:12:35 +0000 (Thu, 13 Aug 2015) Log Message: ----------- Jmol.___JmolVersion="14.3.16_2015.08.12"
bug fix: set labeloffset 4 4 (specifically) just centers label bug fix: var b = a..B fails (found by Rolf Huehne) -- non-lower-case associative array name same as user variable name turned into lower case and then looked up as a["b"] instead of a["B"], so not found bug fix: show xxx (variable) broken in 4.3.15_2015.06.13 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 2015-08-13 02:51:04 UTC (rev 20694) +++ trunk/Jmol/src/org/jmol/shape/Labels.java 2015-08-13 05:12:35 UTC (rev 20695) @@ -541,6 +541,8 @@ return; offsets = AU.ensureLengthI(offsets, i + 1); } + if (offset == 0) + offset = JC.LABEL_DEFAULT_OFFSET; offsets[i] = (offsets[i] & JC.LABEL_FLAGS) | offset; text = getLabel(i); Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2015-08-13 02:51:04 UTC (rev 20694) +++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2015-08-13 05:12:35 UTC (rev 20695) @@ -49,8 +49,17 @@ TODO: curved arrows overextend and with width settings do not truncate shaft properly +TODO: The label offset for POV-ray is problematic. The problem is that the labels are +floating in front of the model, and I recently switched POV-ray export to export in +orthographic mode and let POVray handle the perspective. This was important for +other reasons. But as a result, a label floating in space in front of the atom will +appear at a different location. An interesting challenge to figure out the algorithm +that still places it in the "proper" place even when perspective is on. (Daniele Tomerini) + + Jmol.___JmolVersion="14.3.16_2015.08.12" +bug fix: set labeloffset 4 4 (specifically) just centers label bug fix: var b = a..B fails (found by Rolf Huehne) -- non-lower-case associative array name same as user variable name turned into lower case and then looked up as a["b"] instead of a["B"], so not found This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits