Revision: 5227
Author:   hansonr
Date:     2006-06-14 19:44:06 -0700 (Wed, 14 Jun 2006)
ViewCVS:  http://svn.sourceforge.net/jmol/?rev=5227&view=rev

Log Message:
-----------
bob200603 just allows moveTo [nseconds] for timed transition to home position

Modified Paths:
--------------
    branches/bob200603/Jmol/src/org/jmol/viewer/Eval.java
Modified: branches/bob200603/Jmol/src/org/jmol/viewer/Eval.java
===================================================================
--- branches/bob200603/Jmol/src/org/jmol/viewer/Eval.java       2006-06-15 
02:25:22 UTC (rev 5226)
+++ branches/bob200603/Jmol/src/org/jmol/viewer/Eval.java       2006-06-15 
02:44:06 UTC (rev 5227)
@@ -3665,10 +3665,14 @@
 
   void moveto() throws ScriptException {
     //moveto time { x y z } zoom xTrans yTrans
+    if (statementLength == 2){
+      viewer.moveTo(floatParameter(1), new Point3f(0,0,1), 0, 100, 0, 0);
+      return;
+    }
     if (statementLength < 6)
       badArgumentCount();
+    Point3f pt;
     float floatSecondsTotal = floatParameter(1);
-    Point3f pt;
     int zoom = 100;
     int xTrans = 0;
     int yTrans = 0;


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



_______________________________________________
Jmol-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-commits

Reply via email to