From: <ha...@us...> - 2007-03-07 07:27:25
|
Revision: 7040 http://svn.sourceforge.net/jmol/?rev=7040&view=rev Author: hansonr Date: 2007-03-06 23:27:24 -0800 (Tue, 06 Mar 2007) Log Message: ----------- state fix for missing _version 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 2007-03-07 07:21:11 UTC (rev 7039) +++ trunk/Jmol/src/org/jmol/viewer/Viewer.java 2007-03-07 07:27:24 UTC (rev 7040) @@ -226,7 +226,6 @@ + "\nmemory:" + getParameter("_memory") + "\n" + htmlName); } - setIntProperty("_version", getJmolVersionInt()); if (isApplet) fileManager.setAppletContext(documentBase, codeBase, appletProxyOrCommandOptions); @@ -322,6 +321,7 @@ void resetAllParameters() { global = stateManager.getGlobalSettings(); + setIntProperty("_version", getJmolVersionInt()); colorManager.resetElementColors(); setStringProperty("backgroundColor", "black"); setAmbientPercent(global.ambientPercent); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |