# vreset.spt is called before every button script. script "../../_sptutil/spinprep.spt" # restore X spin to default Y spin # BEGIN vreset.spt restrict none display all select all set ambientPercent 45; set diffusePercent 84; # This causes the pocket script in jtatdemo ch_view2 view02.spt to fail. # Jmol's default now seems OK, e.g. see selenocysteine.pdb. #set defaultVDW rasmol; color atoms none color atoms opaque color backbone none color cartoon none halos off dots off monitors off hbonds off ssbonds off slab off labels off set echo off measurements off isosurface all off #turns all surfaces off draw off # turns all drawn objects off set labeloffset 0 0 hover %n %r, Chain=%c, Element=%e (%a) set dotDensity 3 # restores default javascript setQuality(true) # END vreset.spt