From: <ha...@us...> - 2008-10-20 03:25:00
|
Revision: 10123 http://jmol.svn.sourceforge.net/jmol/?rev=10123&view=rev Author: hansonr Date: 2008-10-20 03:24:53 +0000 (Mon, 20 Oct 2008) Log Message: ----------- version=11.7.5_dev # bug fix: color {oxygen} translucent blue # bug fix: color translucent 1 blue 1-8 integer settings off by one # bug fix: background color +/-1 adjustment removed 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 2008-10-20 03:10:55 UTC (rev 10122) +++ trunk/Jmol/src/org/jmol/g3d/Graphics3D.java 2008-10-20 03:24:53 UTC (rev 10123) @@ -503,14 +503,9 @@ * @param argb an argb value with alpha channel */ public void setBackgroundArgb(int argb) { - // clear alpha channel and make distinct bgcolor = argb; - //backgroundArgb = argb + ((argb & 0xFF) == 0xFF ? -1 : 1); - // note -- abolve code instead of argb & 0x00FFFFFF results in - // background of Jmol being transparent in front of certain applications (VLC Player) - // turns out this is because backgroundArgb gets set to 1 if it is black. - //backgroundArgb = 2;//argb & 0xFFFFFFFF; - + // background of Jmol transparent in front of certain applications (VLC Player) + // when background [0,0,1]. backgroundImage = null; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |