From: <ha...@us...> - 2010-07-22 15:43:43
|
Revision: 13641 http://jmol.svn.sourceforge.net/jmol/?rev=13641&view=rev Author: hansonr Date: 2010-07-22 15:43:37 +0000 (Thu, 22 Jul 2010) Log Message: ----------- color selectionhalos Modified Paths: -------------- trunk/Jmol/src/org/jmol/script/ScriptEvaluator.java Modified: trunk/Jmol/src/org/jmol/script/ScriptEvaluator.java =================================================================== --- trunk/Jmol/src/org/jmol/script/ScriptEvaluator.java 2010-07-22 15:32:42 UTC (rev 13640) +++ trunk/Jmol/src/org/jmol/script/ScriptEvaluator.java 2010-07-22 15:43:37 UTC (rev 13641) @@ -6995,7 +6995,8 @@ } else { int argb = 0; i = 2; - switch (getToken(1).tok) { + int tok = getToken(1).tok; + switch (tok) { case Token.dollarsign: setObjectProperty(); return; @@ -7073,7 +7074,7 @@ loadShape(JmolConstants.SHAPE_HALOS); setShapeProperty( JmolConstants.SHAPE_HALOS, - (theTok == Token.selectionhalos ? "argbSelection" : "argbHighlight"), + (tok == Token.selectionhalos ? "argbSelection" : "argbHighlight"), new Integer(argb)); return; case Token.axes: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |