Revision: 20081
          http://sourceforge.net/p/jmol/code/20081
Author:   hansonr
Date:     2014-10-15 12:38:09 +0000 (Wed, 15 Oct 2014)
Log Message:
-----------
Jmol.___JmolVersion="14.3.8_2014.10.15"

new feature: capture END 
 -- closes capture without annoying popup message
 -- also for capture CANCEL and just CAPTURE

Modified Paths:
--------------
    trunk/Jmol/src/org/jmol/scriptext/CmdExt.java
    trunk/Jmol/src/org/jmol/viewer/Jmol.properties

Modified: trunk/Jmol/src/org/jmol/scriptext/CmdExt.java
===================================================================
--- trunk/Jmol/src/org/jmol/scriptext/CmdExt.java       2014-10-15 12:23:48 UTC 
(rev 20080)
+++ trunk/Jmol/src/org/jmol/scriptext/CmdExt.java       2014-10-15 12:38:09 UTC 
(rev 20081)
@@ -488,10 +488,7 @@
     boolean looping = !vwr.am.animationReplayMode.name().equals("ONCE");
     int i = 1;
     int tok = tokAt(i);
-    switch (tok) {
-    case T.nada:
-      mode = T.end;
-      break;
+    switch (tok == T.nada ? (tok = T.end) : tok) {
     case T.string:
       fileName = e.optParameterAsString(i++);
       if (fileName.length() == 0) {
@@ -562,7 +559,7 @@
       //$FALL-THROUGH$
     case T.on:
     case T.off:
-      checkLength(2);
+      checkLength(-2);
       mode = tok;
       break;
     default:

Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties
===================================================================
--- trunk/Jmol/src/org/jmol/viewer/Jmol.properties      2014-10-15 12:23:48 UTC 
(rev 20080)
+++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties      2014-10-15 12:38:09 UTC 
(rev 20081)
@@ -19,10 +19,8 @@
 
 new feature: capture END 
  -- closes capture without annoying popup message
- -- also for capture CANCEL
+ -- also for capture CANCEL and just CAPTURE
 
-doc note: CAPTURE ROCK and CAPTURE SPIN rate of frame capture is controlled by 
setting of spinFPS. 
- 
 Jmol.___JmolVersion="14.3.8_2014.10.14"
 
 new feature: transparent GIF using WRITE GIFT "xxx.gif"

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Jmol-commits mailing list
Jmol-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-commits

Reply via email to