Re: [Jmol-users] something broken in Jmol states (?)

2008-01-04 Thread Robert Hanson
looks like a missing semicolon after color selectionHalos none
If you can fix that manually for now, that will make it work. 

[[Egon, can you fix this? It's in org/jmol/shapes/Halos.Java

   62  public String getShapeState() {
   63 return super.getShapeState()
   64 + (colixSelection == Graphics3D.USE_PALETTE ? 
   65 : colixSelection == Graphics3D.INHERIT_ALL ?   color
SelectionHalos NONE
   66 : getColorCommand(selectionHalos, colixSelection) +
;\n);

line 65 should read:

   65 : colixSelection == Graphics3D.INHERIT_ALL ?   color
SelectionHalos NONE;\n

Bob

On Wed, 2 Jan 2008 19:08:30 +0100, Paul Pillot
[EMAIL PROTECTED] wrote:
 I got this message runing a state from the applet with Jmol 11.3.63 :
 script ERROR: bad argument count | line 12 command 11 of function
 _setmodelstate file null: | color selectionHalos none select ({1189})
  | line 6 command 6 of function _setstate file null: | 
 _setmodelstate  | line 513 command 1 of file null: | 
 _setstate 
 the file is loaded but the complete view is not restored...
 Paul


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


[Jmol-users] something broken in Jmol states (?)

2008-01-02 Thread Paul Pillot

I got this message runing a state from the applet with Jmol 11.3.63 :
script ERROR: bad argument count | line 12 command 11 of function  
_setmodelstate file null: | color selectionHalos none select ({1189})  
 | line 6 command 6 of function _setstate file null: |   
_setmodelstate  | line 513 command 1 of file null: |   
_setstate 

the file is loaded but the complete view is not restored...
Paul-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users