From: <ha...@us...> - 2008-04-25 05:44:30
|
Revision: 9313 http://jmol.svn.sourceforge.net/jmol/?rev=9313&view=rev Author: hansonr Date: 2008-04-24 22:44:28 -0700 (Thu, 24 Apr 2008) Log Message: ----------- version=11.5.31_dev # bug fix: picking echos not working with set antialiasdisplay Modified Paths: -------------- trunk/Jmol/src/org/jmol/shape/Text.java trunk/Jmol/src/org/jmol/viewer/Jmol.properties Modified: trunk/Jmol/src/org/jmol/shape/Text.java =================================================================== --- trunk/Jmol/src/org/jmol/shape/Text.java 2008-04-25 05:13:08 UTC (rev 9312) +++ trunk/Jmol/src/org/jmol/shape/Text.java 2008-04-25 05:44:28 UTC (rev 9313) @@ -701,6 +701,10 @@ } public boolean checkObjectClicked(int x, int y) { + if (g3d.isAntialiased()) { + x <<= 1; + y <<= 1; + } return (script != null && x >= boxX && x <= boxX + boxWidth && y >= boxY && y <= boxY + boxHeight); Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2008-04-25 05:13:08 UTC (rev 9312) +++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2008-04-25 05:44:28 UTC (rev 9313) @@ -3,6 +3,7 @@ version=11.5.31_dev +# bug fix: picking echos not working with set antialiasdisplay # default change: ellipsoids are so fast now, can use default "set ellipsoidBall true" # bug fix: set ellipsoidAxisDiameter [int] sets the diameter in milliAngstroms # bug fix: sequence range for missing sequence numbers returns 0 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |