From: <ha...@us...> - 2013-05-15 12:19:18
|
Revision: 18224 http://sourceforge.net/p/jmol/code/18224 Author: hansonr Date: 2013-05-15 12:19:14 +0000 (Wed, 15 May 2013) Log Message: ----------- ___JmolVersion="13.1.16_dev_2013.05.15" new feature: anim FRAMES [1, 3, 9, 9, 9, 3, 1] -- arbitrary PyMOL-like model list new feature: FRAME n -- same as MODEL n, unless we have PyMOL-like frames -- if have frames, then FRAME 2 goes to the second frame (model 3 in this case) -- MODEL n still always goes to a specific model. -- all relative options -- FIRST LAST PREV NEXT -- refer to frames if there are frames even if the MODEL command is given. bug fix: show state/anim turns "anim" into "animation" Modified Paths: -------------- trunk/Jmol/src/org/jmol/viewer/StateCreator.java Modified: trunk/Jmol/src/org/jmol/viewer/StateCreator.java =================================================================== --- trunk/Jmol/src/org/jmol/viewer/StateCreator.java 2013-05-15 12:15:05 UTC (rev 18223) +++ trunk/Jmol/src/org/jmol/viewer/StateCreator.java 2013-05-15 12:19:14 UTC (rev 18224) @@ -854,9 +854,8 @@ info.put("currentDirection", Integer.valueOf(am.currentDirection)); info.put("displayModelIndex", Integer.valueOf(am.currentModelIndex)); if (am.animationFrames != null) { + info.put("isMovie", Boolean.TRUE); info.put("frames", Escape.eAI(am.animationFrames)); - info.put("firstModelIndex", Integer.valueOf(am.firstFrameIndex)); - info.put("lastModelIndex", Integer.valueOf(am.lastFrameIndex)); info.put("currentAnimationFrame", Integer.valueOf(am.currentAnimationFrame)); } info.put("displayModelNumber", viewer This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |