On 11/21/2012 06:12 PM, Robert Hanson wrote:
> On Wed, Nov 21, 2012 at 10:52 AM, Rolf Huehne <rhue...@fli-leibniz.de>wrote:
>
>>         Hi all,
>>
>> while working with the Jmol application (13.1.9_dev) I noticed some odd
>> behaviour:
>>
>> 1) The "set selectionHalos on" setting is not stable. It is switched off
>> for example after clicking any of the toolbar icons in the third or
>> fourth group.
>>
>>
> The toolbar icons have somewhat complex equivalents. (Use set debugscript
> to see these.)
>
>
> 1st -- rotation-mode:
>
> set modelkitmode off;
> selectionHalos off;
> set pickingstyle toggle;
> set picking identify;
>
> 2nd -- rubber-band mode
>
> set modelkitmode off;
> select none;
> selectionHalos on;
> set pickingstyle drag;
> set picking select atom;
>
> 3rd -- measurement mode
>
> set modelkitmode off;
> selectionHalos off;
> set picking measure distance;
> set pickingstyle measure #showMeasurementTable;
>
> 4th -- center-picking mode
>
> set modelkitmode off;
> selectionHalos off;
> set picking center;
>
> 5th -- modelKit mode
>
> set modelkitmode;
> selectionHalos off;
>
>
> Not suggesting this was terribly well thought out. Suggestions welcome.
>
Obviously, I would suggest to replace "selectionHalos off". I guess it 
is in there because of the "selectionHalos on" in "2nd -- rubber-band 
mode". The script there could store the current setting of 
'selectionHalos' before switching it on. The other scripts could then 
restore this setting (if it wasn't done already) and mark it as already 
restored (e.g. by setting it to the value "restored" instead of "on" or 
"off").

Regards,
Rolf

-- 

Rolf Huehne
Postdoc

Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
Beutenbergstrasse 11
07745 Jena, Germany

Phone:   +49 3641 65 6205
Fax:     +49 3641 65 6210
E-Mail:  rhue...@fli-leibniz.de
Website: http://www.fli-leibniz.de

           Scientific Director: Prof. Dr. K. Lenhard Rudolph
        Head of Administration: Dr. Daniele Barthel
Chairman of Board of Trustees: Dennys Klein

VAT No: DE 153 925 464
Register of Associations: No. 296, Amtsgericht Jena
Tax Number: 162/141/08228


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to