Revision: 20501 http://sourceforge.net/p/jmol/code/20501 Author: hansonr Date: 2015-05-14 12:27:57 +0000 (Thu, 14 May 2015) Log Message: ----------- Jmol.___JmolVersion="14.3.13_2015.05.14"
new feature: set contextDepthMax -- sets the maximum depth of contexts, including {}, if{} for{} while{} function{} as well as the SCRIPT command and a number of expression-related situations -- default 100 -- minimum 10 bug fix; 05.12 breaks Jmol.evaluate and Jmol.evaluateVar and print getProperty("variableInfo", exp) bug fix: using historyLevel = ... or scriptlevelMax = ... doesn't really set these bug fix: a number of settings have not been excluded from state scripts, which only should save critical information for the state, not general processing -- no longer saved in state -- no longer read using "set xxxxx" when that is in a state script -- includes: historylevel;imagestate;iskiosk;useminimizationthread; -- includes: showkeystrokes;saveproteinstructurestate;testflag1;testflag2;testflag3;testflag4 Modified Paths: -------------- trunk/Jmol/src/org/jmol/script/ScriptContext.java Modified: trunk/Jmol/src/org/jmol/script/ScriptContext.java =================================================================== --- trunk/Jmol/src/org/jmol/script/ScriptContext.java 2015-05-14 12:24:27 UTC (rev 20500) +++ trunk/Jmol/src/org/jmol/script/ScriptContext.java 2015-05-14 12:27:57 UTC (rev 20501) @@ -132,12 +132,15 @@ /** * save pointers indicating state of if/then + * @param aa the command array token list * */ void saveTokens(T[][] aa) { aatoken = aa; - if (aa == null) + if (aa == null) { + pointers = null; return; + } pointers = new int[aa.length]; for (int i = pointers.length; --i >= 0;) pointers[i] = aa[i][0].intValue; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits