From: <ha...@us...> - 2012-03-07 21:52:57
|
Revision: 16868 http://jmol.svn.sourceforge.net/jmol/?rev=16868&view=rev Author: hansonr Date: 2012-03-07 21:52:50 +0000 (Wed, 07 Mar 2012) Log Message: ----------- auto-sync ON for JDX files; use NOSYNC to not do this. Modified Paths: -------------- trunk/Jmol/src/org/jmol/adapter/readers/more/JcampdxReader.java Modified: trunk/Jmol/src/org/jmol/adapter/readers/more/JcampdxReader.java =================================================================== --- trunk/Jmol/src/org/jmol/adapter/readers/more/JcampdxReader.java 2012-03-07 21:37:02 UTC (rev 16867) +++ trunk/Jmol/src/org/jmol/adapter/readers/more/JcampdxReader.java 2012-03-07 21:52:50 UTC (rev 16868) @@ -114,6 +114,8 @@ selectedModel = desiredModelNumber; desiredModelNumber = Integer.MIN_VALUE; htParams.remove("modelNumber"); + if (!checkFilter("NOSYNC")) + addJmolScript("sync on"); } @Override This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |