From: <ha...@us...> - 2011-09-04 20:21:00
|
Revision: 16034 http://jmol.svn.sourceforge.net/jmol/?rev=16034&view=rev Author: hansonr Date: 2011-09-04 20:20:53 +0000 (Sun, 04 Sep 2011) Log Message: ----------- version=12.2.RC6_dev # bug fix: MO LIST broken Modified Paths: -------------- trunk/Jmol/src/org/jmol/shapesurface/MolecularOrbital.java trunk/Jmol/src/org/jmol/viewer/Jmol.properties Modified: trunk/Jmol/src/org/jmol/shapesurface/MolecularOrbital.java =================================================================== --- trunk/Jmol/src/org/jmol/shapesurface/MolecularOrbital.java 2011-09-04 19:10:40 UTC (rev 16033) +++ trunk/Jmol/src/org/jmol/shapesurface/MolecularOrbital.java 2011-09-04 20:20:53 UTC (rev 16034) @@ -286,7 +286,7 @@ @SuppressWarnings("unchecked") @Override public Object getProperty(String propertyName, int param) { - if (propertyName == "list") { + if (propertyName.equals("list")) { String s = (String) super.getProperty("list", param); if (s.length() > 1) s += "cutoff = " + super.getProperty("cutoff", 0) + "\n"; Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2011-09-04 19:10:40 UTC (rev 16033) +++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2011-09-04 20:20:53 UTC (rev 16034) @@ -3,6 +3,7 @@ version=12.2.RC6_dev +# bug fix: MO LIST broken # bug fix: linear combination of MOs broken in 12.1.49 # new feature: forgotten feature: load "xxxx.xxx" [ list of models to load ] # -- for example: load "cyclohexane_movie.xyz" [ 1 6 11 26 ] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |