Revision: 20404 http://sourceforge.net/p/jmol/code/20404 Author: hansonr Date: 2015-03-25 13:45:54 +0000 (Wed, 25 Mar 2015) Log Message: -----------
Modified Paths: -------------- branches/v14_2/Jmol/src/org/jmol/script/ScriptEval.java Modified: branches/v14_2/Jmol/src/org/jmol/script/ScriptEval.java =================================================================== --- branches/v14_2/Jmol/src/org/jmol/script/ScriptEval.java 2015-03-25 13:45:36 UTC (rev 20403) +++ branches/v14_2/Jmol/src/org/jmol/script/ScriptEval.java 2015-03-25 13:45:54 UTC (rev 20404) @@ -7717,9 +7717,7 @@ private void cmdTranslate(boolean isSelected) throws ScriptException { // translate [selected] X|Y|Z x.x [NM|ANGSTROMS] // translate [selected] X|Y x.x% - // translate [selected] X|Y|Z x.x [NM|ANGSTROMS] - // translate [selected] X|Y x.x% - // translate {x y z} [{atomExpression}] + // translate [selected] {x y z} [{atomExpression}] BS bs = null; int i = 1; int i0 = 0; @@ -7730,7 +7728,7 @@ } if (isPoint3f(i)) { P3 pt = getPoint3f(i, true); - bs = (!isSelected && iToken + 1 < slen ? atomExpressionAt(++iToken) + bs = (iToken + 1 < slen ? atomExpressionAt(++iToken) : null); checkLast(iToken); if (!chk) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits