From: <ha...@us...> - 2009-08-25 16:43:32
|
Revision: 11360 http://jmol.svn.sourceforge.net/jmol/?rev=11360&view=rev Author: hansonr Date: 2009-08-25 16:43:25 +0000 (Tue, 25 Aug 2009) Log Message: ----------- Modified Paths: -------------- trunk/Jmol/src/org/jmol/shapespecial/Draw.java Modified: trunk/Jmol/src/org/jmol/shapespecial/Draw.java =================================================================== --- trunk/Jmol/src/org/jmol/shapespecial/Draw.java 2009-08-25 15:01:36 UTC (rev 11359) +++ trunk/Jmol/src/org/jmol/shapespecial/Draw.java 2009-08-25 16:43:25 UTC (rev 11360) @@ -699,7 +699,6 @@ ptList[1] = new Point3f(vAC); drawType = (isArrow ? JmolConstants.DRAW_ARROW : isArc ? JmolConstants.DRAW_ARC : JmolConstants.DRAW_CIRCULARPLANE); - plane = null; } if (isArc) { dist = Math.abs(dist); @@ -717,10 +716,11 @@ } ptList[3] = new Point3f(0, 360, 0); } - if (nVertices < 4) + if (nVertices < 4 && plane != null) ptList[3].z *= dist; nVertices = 4; } + plane = null; } else if (drawType == JmolConstants.DRAW_POINT) { Point3f pt; Point3f center = new Point3f(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |