From: <ni...@us...> - 2006-08-30 16:51:51
|
Revision: 5441 http://svn.sourceforge.net/jmol/?rev=5441&view=rev Author: nicove Date: 2006-08-30 09:51:42 -0700 (Wed, 30 Aug 2006) Log Message: ----------- Reapplying r4874: changed inappropriate references from Integer.MIN_VALUE -> Float.MIN_VALUE Modified Paths: -------------- branches/v10_9/Jmol/src/org/jmol/viewer/Frame.java Modified: branches/v10_9/Jmol/src/org/jmol/viewer/Frame.java =================================================================== --- branches/v10_9/Jmol/src/org/jmol/viewer/Frame.java 2006-08-30 16:42:24 UTC (rev 5440) +++ branches/v10_9/Jmol/src/org/jmol/viewer/Frame.java 2006-08-30 16:51:42 UTC (rev 5441) @@ -57,8 +57,8 @@ final Graphics3D g3d; // the maximum BondingRadius seen in this set of atoms // used in autobonding - float maxBondingRadius = Integer.MIN_VALUE; - float maxVanderwaalsRadius = Integer.MIN_VALUE; + float maxBondingRadius = Float.MIN_VALUE; + float maxVanderwaalsRadius = Float.MIN_VALUE; int atomCount; public Atom[] atoms; @@ -1386,7 +1386,7 @@ void rebond(boolean deleteFirst) { if (deleteFirst) deleteAllBonds(); - if (maxBondingRadius == Integer.MIN_VALUE) + if (maxBondingRadius == Float.MIN_VALUE) findMaxRadii(); bondTolerance = viewer.getBondTolerance(); minBondDistance = viewer.getMinBondDistance(); @@ -1655,7 +1655,7 @@ } float getMaxVanderwaalsRadius() { - if (maxVanderwaalsRadius == Integer.MIN_VALUE) + if (maxVanderwaalsRadius == Float.MIN_VALUE) findMaxRadii(); return maxVanderwaalsRadius; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |