JAL-1821 patch for completeness - first model number is zero
authorJim Procter <jprocter@issues.jalview.org>
Wed, 5 Aug 2015 17:04:15 +0000 (18:04 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Wed, 5 Aug 2015 17:04:15 +0000 (18:04 +0100)
src/jalview/ext/jmol/JalviewJmolBinding.java

index 0f69aeb..296892c 100644 (file)
@@ -676,6 +676,7 @@ public abstract class JalviewJmolBinding extends AAStructureBindingModel
           // applet path with docroot - discard as format won't match pdbfile
           mset[0] = m;
         }
+        _modelFileNameMap[0] = 0; // filename index for first model is always 0.
       }
       int j = 1;
       for (int i = 1; i < mset.length; i++)