Revision: 20255
          http://sourceforge.net/p/jmol/code/20255
Author:   hansonr
Date:     2015-01-29 15:45:19 +0000 (Thu, 29 Jan 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/v14_2/Jmol/src/org/jmol/modelsetbio/BioModel.java

Modified: branches/v14_2/Jmol/src/org/jmol/modelsetbio/BioModel.java
===================================================================
--- branches/v14_2/Jmol/src/org/jmol/modelsetbio/BioModel.java  2015-01-28 
17:09:26 UTC (rev 20254)
+++ branches/v14_2/Jmol/src/org/jmol/modelsetbio/BioModel.java  2015-01-29 
15:45:19 UTC (rev 20255)
@@ -543,11 +543,11 @@
       Bond bond = bonds[i];
       Atom atom1 = bond.atom1;
       Model m = models[atom1.mi];
-      if (!m.isBioModel || m.trajectoryBaseIndex != m.modelIndex
+      if (m.trajectoryBaseIndex != bm.modelIndex
           || (bond.order & Edge.BOND_H_CALC_MASK) == 0)
         continue;
       if (bsAtoms != null && !bsAtoms.get(atom1.i)) {
-        ((BioModel) m).hasRasmolHBonds = true;
+        bm.hasRasmolHBonds = true;
         continue;
       }
       bsDelete.set(i);

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


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Jmol-commits mailing list
Jmol-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-commits

Reply via email to