Revision: 20881
          http://sourceforge.net/p/jmol/code/20881
Author:   hansonr
Date:     2015-12-03 21:29:02 +0000 (Thu, 03 Dec 2015)
Log Message:
-----------
Jmol.___JmolVersion="14.5.0_2015.12.03"

bug fix: model 0 issued when more than one PDB file is open does not execute 
model *

Modified Paths:
--------------
    trunk/Jmol/src/org/jmol/script/ScriptEval.java
    trunk/Jmol/src/org/jmol/viewer/Jmol.properties

Modified: trunk/Jmol/src/org/jmol/script/ScriptEval.java
===================================================================
--- trunk/Jmol/src/org/jmol/script/ScriptEval.java      2015-12-02 19:20:38 UTC 
(rev 20880)
+++ trunk/Jmol/src/org/jmol/script/ScriptEval.java      2015-12-03 21:29:02 UTC 
(rev 20881)
@@ -4933,7 +4933,7 @@
    * @throws ScriptException
    */
   private void cmdModel(int offset) throws ScriptException {
-    boolean isFrame = (theTok == T.frame);
+    boolean isFrame = (theTok == T.frame || vwr.ms.mc > 1);
     boolean useModelNumber = true;
     if (slen == 1 && offset == 1) {
       int modelIndex = vwr.am.cmi;

Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties
===================================================================
--- trunk/Jmol/src/org/jmol/viewer/Jmol.properties      2015-12-02 19:20:38 UTC 
(rev 20880)
+++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties      2015-12-03 21:29:02 UTC 
(rev 20881)
@@ -64,6 +64,10 @@
 
 Jmol.___JmolVersion="14.5.0_2015.12.03"
 
+bug fix: model 0 issued when more than one PDB file is open does not execute 
model *
+
+JmolVersion="14.5.0_2015.12.03"
+
 new feature: drawing of spheres in 2D window
   -- as percent position or absolute, as for ECHO
   -- diameter is % if position is %; otherwise it is pixels

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


------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Jmol-commits mailing list
Jmol-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-commits

Reply via email to