allowRotateSelected is for all models, right? Not specific to a specific
model, I think.
If models have been rotated using allowRotateSelected, it means that their
atom positions have changed. This will be reflected in the state, so I
imagine everything should be fine when you restore the state from disk.
Have you seen a problem with that?
Bob
On Wed, Jun 13, 2012 at 1:53 PM, Martin Hediger <[email protected]> wrote:
> Dear Jmol Developers
> I'm working on our application and I require to enable the user to
> restore a previous Jmol session. In the applet, three models are loaded,
> for two of which "allowRotateSelected" is enabled. That means when the
> user restores a session, the orientation of the two rotatable models
> (1.1 and 2.1) should also be restored.
>
> How should this be done?
>
> Thanks for your input
> Martin
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users