From: <ha...@us...> - 2006-12-06 23:27:55
|
Revision: 6412 http://svn.sourceforge.net/jmol/?rev=6412&view=rev Author: hansonr Date: 2006-12-06 15:06:20 -0800 (Wed, 06 Dec 2006) Log Message: ----------- bug fix -- Jmol not exiting after scripts with -x flag Modified Paths: -------------- trunk/Jmol/src/org/openscience/jmol/app/Jmol.java Modified: trunk/Jmol/src/org/openscience/jmol/app/Jmol.java =================================================================== --- trunk/Jmol/src/org/openscience/jmol/app/Jmol.java 2006-12-06 23:05:47 UTC (rev 6411) +++ trunk/Jmol/src/org/openscience/jmol/app/Jmol.java 2006-12-06 23:06:20 UTC (rev 6412) @@ -570,7 +570,7 @@ report("Executing script: " + scriptFilename); if (haveDisplay.booleanValue()) jmol.splash.showStatus(GT._("Executing script...")); - jmol.viewer.openFile(scriptFilename); //now the same interface + jmol.viewer.evalFile(scriptFilename); } } catch (Throwable t) { System.out.println("uncaught exception: " + t); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |