Revision: 20478 http://sourceforge.net/p/jmol/code/20478 Author: hansonr Date: 2015-05-05 18:29:35 +0000 (Tue, 05 May 2015) Log Message: ----------- Jmol.___JmolVersion="14.3.13_2015.05.05"
bug fix: set modifyStructureCallback does not work with "JmolScript:...." Modified Paths: -------------- trunk/Jmol/src/org/jmol/viewer/Jmol.properties trunk/Jmol/src/org/jmol/viewer/StatusManager.java Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2015-05-03 18:52:50 UTC (rev 20477) +++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2015-05-05 18:29:35 UTC (rev 20478) @@ -14,8 +14,12 @@ TODO: remove HTML5 dependency on synchronous file loading (check SCRIPT command for problems) -Jmol.___JmolVersion="14.3.13_2015.05.03" +Jmol.___JmolVersion="14.3.13_2015.05.05" +bug fix: set modifyStructureCallback does not work with "JmolScript:...." + +JmolVersion="14.3.13_2015.05.03" + new feature: for msCIF (modulated structure files), setting modulation or using vibration ON now also indicates occupancy changes bug fix: sawtooth and Legendre displacement modulations should set occupancy to 0 outside of their range. Modified: trunk/Jmol/src/org/jmol/viewer/StatusManager.java =================================================================== --- trunk/Jmol/src/org/jmol/viewer/StatusManager.java 2015-05-03 18:52:50 UTC (rev 20477) +++ trunk/Jmol/src/org/jmol/viewer/StatusManager.java 2015-05-05 18:29:35 UTC (rev 20478) @@ -637,9 +637,10 @@ } public void modifySend(int atomIndex, int modelIndex, int mode, String msg) { + String sJmol = jmolScriptCallback(CBK.STRUCTUREMODIFIED); if (notifyEnabled(CBK.STRUCTUREMODIFIED)) cbl.notifyCallback(CBK.STRUCTUREMODIFIED, - new Object[] { null, Integer.valueOf(mode), Integer.valueOf(atomIndex), Integer.valueOf(modelIndex), msg }); + new Object[] { sJmol, Integer.valueOf(mode), Integer.valueOf(atomIndex), Integer.valueOf(modelIndex), msg }); } /** 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