From: <ha...@us...> - 2008-10-28 17:57:30
|
Revision: 10157 http://jmol.svn.sourceforge.net/jmol/?rev=10157&view=rev Author: hansonr Date: 2008-10-28 17:57:20 +0000 (Tue, 28 Oct 2008) Log Message: ----------- version=11.7.6_dev # bug fix: load string inline with multiple models fails Modified Paths: -------------- trunk/Jmol/src/org/jmol/viewer/Jmol.properties trunk/Jmol/src/org/jmol/viewer/StateManager.java Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2008-10-27 19:22:16 UTC (rev 10156) +++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2008-10-28 17:57:20 UTC (rev 10157) @@ -3,6 +3,7 @@ version=11.7.6_dev +# bug fix: load string inline with multiple models fails # code: FindBugs fixes for Eval, DrawRenderer, Isosurface, ForceFieldUFF,PdbReader # code: ScriptWindow public: sendConsoleEcho,sendConsoleMessage,notifyScriptStart,notifyScriptTermination Modified: trunk/Jmol/src/org/jmol/viewer/StateManager.java =================================================================== --- trunk/Jmol/src/org/jmol/viewer/StateManager.java 2008-10-27 19:22:16 UTC (rev 10156) +++ trunk/Jmol/src/org/jmol/viewer/StateManager.java 2008-10-28 17:57:20 UTC (rev 10157) @@ -525,6 +525,7 @@ int[] getDefaultLatticeArray() { int[] A = new int[4]; + A[0] = Integer.MIN_VALUE; A[1] = (int) ptDefaultLattice.x; A[2] = (int) ptDefaultLattice.y; A[3] = (int) ptDefaultLattice.z; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |