From: <ha...@us...> - 2007-07-24 13:05:56
|
Revision: 7999 http://svn.sourceforge.net/jmol/?rev=7999&view=rev Author: hansonr Date: 2007-07-24 06:05:55 -0700 (Tue, 24 Jul 2007) Log Message: ----------- 11.2.6 # bug fix: inappropriate draw pick spinning for single point Modified Paths: -------------- branches/v11_2/Jmol/src/org/jmol/shapespecial/Draw.java Modified: branches/v11_2/Jmol/src/org/jmol/shapespecial/Draw.java =================================================================== --- branches/v11_2/Jmol/src/org/jmol/shapespecial/Draw.java 2007-07-24 13:05:32 UTC (rev 7998) +++ branches/v11_2/Jmol/src/org/jmol/shapespecial/Draw.java 2007-07-24 13:05:55 UTC (rev 7999) @@ -699,6 +699,8 @@ return false; if (!findPickedObject(x, y, false)) return false; + if (pickedMesh.polygonIndexes[pickedModel][0] == pickedMesh.polygonIndexes[pickedModel][1]) + return false; // single point if (pickedVertex == 0) { viewer.startSpinningAxis( pickedMesh.vertices[pickedMesh.polygonIndexes[pickedModel][0]], This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |