Revision: 21462
          http://sourceforge.net/p/jmol/code/21462
Author:   hansonr
Date:     2017-03-27 22:58:51 +0000 (Mon, 27 Mar 2017)
Log Message:
-----------
Jmol.___JmolVersion="14.10.1-beta-2017-03-27"

bug fix: drag-drop of PDB file with isolated nucleic acids gives odd unbonded 
look

Modified Paths:
--------------
    trunk/Jmol/src/org/jmol/viewer/GlobalSettings.java
    trunk/Jmol/src/org/jmol/viewer/JC.java
    trunk/Jmol/src/org/jmol/viewer/Jmol.properties

Modified: trunk/Jmol/src/org/jmol/viewer/GlobalSettings.java
===================================================================
--- trunk/Jmol/src/org/jmol/viewer/GlobalSettings.java  2017-03-26 12:37:27 UTC 
(rev 21461)
+++ trunk/Jmol/src/org/jmol/viewer/GlobalSettings.java  2017-03-27 22:58:51 UTC 
(rev 21462)
@@ -439,7 +439,7 @@
   final P3 ptDefaultLattice = new P3();
   public String defaultLoadScript = "";
   public String defaultLoadFilter = "";
-  public String defaultDropScript = "zap; load SYNC \"%FILE\";if 
(%ALLOWCARTOONS && _loadScript == '' && defaultLoadScript == '' && _filetype == 
'Pdb') {if ({(protein or nucleic)&*/1.1} && {*/1.1}[1].groupindex != 
{*/1.1}[0].groupindex){select protein or nucleic;cartoons only;}if 
({visible}){color structure}else{wireframe -0.1};if (!{visible}){spacefill 
23%};select *}";
+  public String defaultDropScript = JC.DEFAULT_DRAG_DROP_SCRIPT;
   //    boolean _fileCaching = false;
   //    String _fileCache = "";
   boolean forceAutoBond = false;

Modified: trunk/Jmol/src/org/jmol/viewer/JC.java
===================================================================
--- trunk/Jmol/src/org/jmol/viewer/JC.java      2017-03-26 12:37:27 UTC (rev 
21461)
+++ trunk/Jmol/src/org/jmol/viewer/JC.java      2017-03-27 22:58:51 UTC (rev 
21462)
@@ -1222,6 +1222,8 @@
   public final static int UNITID_ATOM = 4;
   public final static int UNITID_INSCODE = 8;
   public final static int UNITID_TRIM = 16;
+
+  public static final String DEFAULT_DRAG_DROP_SCRIPT = "zap; load SYNC 
\"%FILE\";if (%ALLOWCARTOONS && _loadScript == '' && defaultLoadScript == '' && 
_filetype == 'Pdb') {if ({(protein or nucleic)&*/1.1} && {*/1.1}[1].groupindex 
!= {*/1.1}[0].groupindex){select protein or nucleic;cartoons only;}if ({visible 
&& cartoons > 0}){color structure}else{wireframe -0.1};if 
(!{visible}){spacefill 23%};select *}";
   /**
    * Get a unitID type
    * 

Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties
===================================================================
--- trunk/Jmol/src/org/jmol/viewer/Jmol.properties      2017-03-26 12:37:27 UTC 
(rev 21461)
+++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties      2017-03-27 22:58:51 UTC 
(rev 21462)
@@ -48,9 +48,13 @@
 #
 # 10. Run jmol/tools build-release.xml
 #
+Jmol.___JmolVersion="14.10.1-beta-2017-03-27"
 
-Jmol.___JmolVersion="14.10.0" // released 3/25/2017
+bug fix: drag-drop of PDB file with isolated nucleic acids gives odd unbonded 
look
 
+
+JmolVersion="14.10.0" // released 3/25/2017
+
 new feature: x = {*}.find(smartsString,"map")
  -- returns an array of arrays of atom indices (0-based)
  -- indicates exact correlation between atoms in {*} and atoms of smartsString

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Jmol-commits mailing list
Jmol-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-commits

Reply via email to