Revision: 18579
          http://sourceforge.net/p/jmol/code/18579
Author:   hansonr
Date:     2013-08-16 16:01:41 +0000 (Fri, 16 Aug 2013)
Log Message:
-----------


Modified Paths:
--------------
    branches/v13_2/Jmol/src/org/jmol/shapesurface/Isosurface.java

Modified: branches/v13_2/Jmol/src/org/jmol/shapesurface/Isosurface.java
===================================================================
--- branches/v13_2/Jmol/src/org/jmol/shapesurface/Isosurface.java       
2013-08-16 16:00:21 UTC (rev 18578)
+++ branches/v13_2/Jmol/src/org/jmol/shapesurface/Isosurface.java       
2013-08-16 16:01:41 UTC (rev 18579)
@@ -149,7 +149,8 @@
     currentMesh = thisMesh = isomeshes[index] = (m == null ? new 
IsosurfaceMesh(
         thisID, colix, index) : (IsosurfaceMesh) m);
     currentMesh.index = index;
-    sg.setJvxlData(jvxlData = thisMesh.jvxlData);
+    if (sg != null)
+      sg.setJvxlData(jvxlData = thisMesh.jvxlData);
   }
 
   @Override

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


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-commits mailing list
Jmol-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-commits

Reply via email to