From: <ha...@us...> - 2009-08-25 17:10:58
|
Revision: 11362 http://jmol.svn.sourceforge.net/jmol/?rev=11362&view=rev Author: hansonr Date: 2009-08-25 17:10:52 +0000 (Tue, 25 Aug 2009) Log Message: ----------- 11.8.1 fix for draw arc relative to plane Modified Paths: -------------- branches/v11_8/Jmol/src/org/jmol/shapespecial/Draw.java Modified: branches/v11_8/Jmol/src/org/jmol/shapespecial/Draw.java =================================================================== --- branches/v11_8/Jmol/src/org/jmol/shapespecial/Draw.java 2009-08-25 16:43:45 UTC (rev 11361) +++ branches/v11_8/Jmol/src/org/jmol/shapespecial/Draw.java 2009-08-25 17:10:52 UTC (rev 11362) @@ -709,8 +709,6 @@ // draw arc {center} {pt2} {angleOffset theta fractionalAxisOffset} ptList[3] = new Point3f(ptList[2]); ptList[2] = randomPoint(); - //if (dist == 0) - //dist = 1; } else { if (nVertices == 2) { // draw arc {center} {pt2} @@ -718,7 +716,7 @@ } ptList[3] = new Point3f(0, 360, 0); } - if (nVertices < 4 && plane != null) + if (plane != null) ptList[3].z *= dist; nVertices = 4; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |