From: <ha...@us...> - 2009-12-02 18:46:54
|
Revision: 11839 http://jmol.svn.sourceforge.net/jmol/?rev=11839&view=rev Author: hansonr Date: 2009-12-02 18:46:46 +0000 (Wed, 02 Dec 2009) Log Message: ----------- version=11.9.10_dev # new feature: double-click-drag translates model # new feature: multitouch gesture antiparallel strokes: rotate at point # new feature: multitouch gesture spread/pinch: zoom in/out at point # new feature: app command parameter [-M or --multitouch] "sparshui" or "sparshui-simulated" # applet jmolSetCallback("multiTouchSparshUI", "true") # applet jmolSetCallback("multiTouchSparshUI-simulated", "true") # with those variables set, Jmol will load the multitouch package and start # an integrated SparshUI server (if none is already started). In addition, # with the -simulated flag, Jmol simulates multitouch using CTRL-LEFT drag (twice) # This incorporation of SparshUI also demonstrates the on-the-fly loading # of a client gesture into the SparshUI system using an extension of the # SparshUI protocol that allows delivery of a class name rather than a SparshUI # gesture ordinal. # # code: ActionManagerMT - for multitouch # code: preliminary org.jmol.multitouch package # code: preliminary com.sparshui package (I've been assured this is LGPL # despite the GPL license in the direcory) # Modified Paths: -------------- trunk/Jmol/src/org/jmol/viewer/Viewer.java Modified: trunk/Jmol/src/org/jmol/viewer/Viewer.java =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Viewer.java 2009-12-02 18:35:46 UTC (rev 11838) +++ trunk/Jmol/src/org/jmol/viewer/Viewer.java 2009-12-02 18:46:46 UTC (rev 11839) @@ -7607,8 +7607,6 @@ translateXYBy(Parser.parseInt(tokens[2]), Parser.parseInt(tokens[3])); else if (key.equals("rotateMolecule")) rotateMolecule(Parser.parseInt(tokens[2]), Parser.parseInt(tokens[3])); - else if (key.equals("centerAt")) - centerAt(Parser.parseInt(tokens[2]), Parser.parseInt(tokens[3]), null); break; case 5: if (key.equals("spinXYBy")) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |