From: <ha...@us...> - 2007-08-08 02:25:18
|
Revision: 8048 http://jmol.svn.sourceforge.net/jmol/?rev=8048&view=rev Author: hansonr Date: 2007-08-07 19:25:16 -0700 (Tue, 07 Aug 2007) Log Message: ----------- version=11.3.9 synchronization bug fix Modified Paths: -------------- trunk/Jmol/src/org/jmol/viewer/Compiler.java trunk/Jmol/src/org/jmol/viewer/Jmol.properties Modified: trunk/Jmol/src/org/jmol/viewer/Compiler.java =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Compiler.java 2007-08-08 01:45:22 UTC (rev 8047) +++ trunk/Jmol/src/org/jmol/viewer/Compiler.java 2007-08-08 02:25:16 UTC (rev 8048) @@ -246,11 +246,9 @@ getData(str); continue; } - if (tokCommand == Token.sync) { - if (nTokens == 1 && charToken()) { - String ident = script.substring(ichToken, ichToken + cchToken); - addTokenToPrefix(new Token(Token.identifier, ident)); - } + if (tokCommand == Token.sync && nTokens == 1 && charToken()) { + String ident = script.substring(ichToken, ichToken + cchToken); + addTokenToPrefix(new Token(Token.identifier, ident)); continue; } if (tokCommand == Token.load) { Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2007-08-08 01:45:22 UTC (rev 8047) +++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2007-08-08 02:25:16 UTC (rev 8048) @@ -1,12 +1,12 @@ version=11.3.9 -# new feature: symmetryRange: load {mmm nnn 1|0} range x.x where x.x is a maximum distance away from closest atom in the base cell +# new feature: symmetryRange: load "someFile" {mmm nnn 1|0} range x.x where x.x is a maximum distance away from closest atom in the base cell # new feature: synchronization of applets using JavaScript # new feature: synchronization of applets using Jmol scripts: # -# sync .|>|*|appletId[syncId] ON|OFF|SLAVE|command +# synchronize .|>|*|appletId[syncId] ON|OFF|SLAVE|command # -# The sync command allows two or more applets to be synchronized in +# The synchronize (sync) command allows two or more applets to be synchronized in # terms of orientation. Move one with the mouse, and the other moves as well. # In addition, the sync command allows ANY command to be sent to one or more # other applets directly, without the intervention of JavaScript. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |