From: <ha...@us...> - 2012-05-19 03:56:07
|
Revision: 17158 http://jmol.svn.sourceforge.net/jmol/?rev=17158&view=rev Author: hansonr Date: 2012-05-19 03:56:00 +0000 (Sat, 19 May 2012) Log Message: ----------- 12.2.26 VERSION # bug fix: measurementUnits = "au" does not work Modified Paths: -------------- branches/v12_2/Jmol/src/org/jmol/viewer/Jmol.properties branches/v12_2/Jmol/src/org/jmol/viewer/Viewer.java Modified: branches/v12_2/Jmol/src/org/jmol/viewer/Jmol.properties =================================================================== --- branches/v12_2/Jmol/src/org/jmol/viewer/Jmol.properties 2012-05-19 03:50:13 UTC (rev 17157) +++ branches/v12_2/Jmol/src/org/jmol/viewer/Jmol.properties 2012-05-19 03:56:00 UTC (rev 17158) @@ -4,8 +4,10 @@ date=$Date$ -version=12.2.26_dev +version=12.2.26 +# bug fix: measurementUnits = "au" does not work + # ------------------------------------------------------------------------------ #version=12.2.25 Modified: branches/v12_2/Jmol/src/org/jmol/viewer/Viewer.java =================================================================== --- branches/v12_2/Jmol/src/org/jmol/viewer/Viewer.java 2012-05-19 03:50:13 UTC (rev 17157) +++ branches/v12_2/Jmol/src/org/jmol/viewer/Viewer.java 2012-05-19 03:56:00 UTC (rev 17158) @@ -5612,6 +5612,9 @@ private void setStringProperty(String key, int tok, String value) { switch (tok) { + case Token.measurementunits: + setMeasureDistanceUnits(value); + return; case Token.loadligandformat: // /12.1.51// global.loadLigandFormat = value; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |