From: <ha...@us...> - 2007-04-25 03:44:19
|
Revision: 7487 http://svn.sourceforge.net/jmol/?rev=7487&view=rev Author: hansonr Date: 2007-04-24 20:44:18 -0700 (Tue, 24 Apr 2007) Log Message: ----------- jmol 11.1.29/jvxl 0.1 integration testing; Modified Paths: -------------- trunk/Jmol/src/org/jmol/jvxl/readers/VolumeDataReader.java Modified: trunk/Jmol/src/org/jmol/jvxl/readers/VolumeDataReader.java =================================================================== --- trunk/Jmol/src/org/jmol/jvxl/readers/VolumeDataReader.java 2007-04-25 03:17:22 UTC (rev 7486) +++ trunk/Jmol/src/org/jmol/jvxl/readers/VolumeDataReader.java 2007-04-25 03:44:18 UTC (rev 7487) @@ -142,6 +142,10 @@ protected int setVoxelRange(int index, float min, float max, float ptsPerAngstrom, int gridMax) { + if (min >= max) { + min = -10; + max = 10; + } float range = max - min; int nGrid; float resolution = params.resolution; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |