From: <ha...@us...> - 2009-12-23 19:01:22
|
Revision: 11994 http://jmol.svn.sourceforge.net/jmol/?rev=11994&view=rev Author: hansonr Date: 2009-12-23 19:01:15 +0000 (Wed, 23 Dec 2009) Log Message: ----------- tachyon Modified Paths: -------------- trunk/Jmol/src/org/jmol/g3d/Graphics3D.java Modified: trunk/Jmol/src/org/jmol/g3d/Graphics3D.java =================================================================== --- trunk/Jmol/src/org/jmol/g3d/Graphics3D.java 2009-12-23 18:47:24 UTC (rev 11993) +++ trunk/Jmol/src/org/jmol/g3d/Graphics3D.java 2009-12-23 19:01:15 UTC (rev 11994) @@ -2169,6 +2169,8 @@ public final static int getColixTranslucencyLevel(short colix) { int logAlpha = (colix >> TRANSLUCENT_SHIFT) & 15; switch (logAlpha) { + case 0: + return 0; case 1: case 2: case 3: @@ -2185,7 +2187,7 @@ } public static float translucencyFractionalFromColix(short colix) { - int translevel = Graphics3D.getColixTranslucencyLevel(colix); + int translevel = getColixTranslucencyLevel(colix); return ( translevel == -1 ? 0.5f : translevel == 0 ? 0 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |