Revision: 18321
          http://sourceforge.net/p/jmol/code/18321
Author:   hansonr
Date:     2013-06-12 03:17:05 +0000 (Wed, 12 Jun 2013)
Log Message:
-----------
___version=13.0.17_dev_2013.06.11

bug fix: draw LINEDATA not operative (undocumented, for state; from draw xxx 
INTERSECT yyy)

Modified Paths:
--------------
    branches/v13_0/Jmol/src/org/jmol/shapespecial/Draw.java
    branches/v13_0/Jmol/src/org/jmol/viewer/Jmol.properties

Modified: branches/v13_0/Jmol/src/org/jmol/shapespecial/Draw.java
===================================================================
--- branches/v13_0/Jmol/src/org/jmol/shapespecial/Draw.java     2013-06-11 
21:08:04 UTC (rev 18320)
+++ branches/v13_0/Jmol/src/org/jmol/shapespecial/Draw.java     2013-06-12 
03:17:05 UTC (rev 18321)
@@ -624,7 +624,10 @@
   @Override
   protected void clean() {
     for (int i = meshCount; --i >= 0;)
-      if (meshes[i] == null || meshes[i].vertexCount == 0 && 
meshes[i].connections == null)
+      if (meshes[i] == null 
+          || meshes[i].vertexCount == 0 
+             && meshes[i].connections == null
+             && meshes[i].lineData == null)
         deleteMesh(i);
   }
 
@@ -1337,9 +1340,11 @@
       int n = mesh.lineData.size();
       for (int j = 0; j < n;) {
         Point3f[] pts = mesh.lineData.get(j);
-        str.append(Escape.escape(pts[0]));
-        str.append(" ");
-        str.append(Escape.escape(pts[1]));
+        String s = Escape.escape(pts[0]);
+        str.append(s.substring(1, s.length() - 1));
+        str.append(",");
+        s = Escape.escape(pts[1]);
+        str.append(s.substring(1, s.length() - 1));
         if (++j < n)
           str.append(", ");
       }

Modified: branches/v13_0/Jmol/src/org/jmol/viewer/Jmol.properties
===================================================================
--- branches/v13_0/Jmol/src/org/jmol/viewer/Jmol.properties     2013-06-11 
21:08:04 UTC (rev 18320)
+++ branches/v13_0/Jmol/src/org/jmol/viewer/Jmol.properties     2013-06-12 
03:17:05 UTC (rev 18321)
@@ -9,8 +9,9 @@
 #  Don't use ___ in your text, as that is the key for stripping out
 #  the information saved in the JAR version of this file.
 
-___version=13.0.17_dev_2013.06.07
+___version=13.0.17_dev_2013.06.11
 
+bug fix: draw LINEDATA not operative (undocumented, for state; from draw xxx 
INTERSECT yyy)
 bug fix: jvxl reader ignores jvxlVertexColorData 
 bug fix: ellipsoid rendering problems
 

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


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Jmol-commits mailing list
Jmol-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-commits

Reply via email to