From: <ha...@us...> - 2013-06-02 18:11:33
|
Revision: 18274 http://sourceforge.net/p/jmol/code/18274 Author: hansonr Date: 2013-06-02 18:11:28 +0000 (Sun, 02 Jun 2013) Log Message: ----------- ___JmolVersion="13.1.16_dev_2013.06.1" Modified Paths: -------------- trunk/Jmol/src/org/jmol/adapter/readers/pymol/PyMOLScene.java Modified: trunk/Jmol/src/org/jmol/adapter/readers/pymol/PyMOLScene.java =================================================================== --- trunk/Jmol/src/org/jmol/adapter/readers/pymol/PyMOLScene.java 2013-06-02 17:38:09 UTC (rev 18273) +++ trunk/Jmol/src/org/jmol/adapter/readers/pymol/PyMOLScene.java 2013-06-02 18:11:28 UTC (rev 18274) @@ -918,7 +918,7 @@ + (globalSetting(PyMOL.cartoon_fancy_helices) != 0)); sb.append(";set cartoonFancy " + (globalSetting(PyMOL.cartoon_fancy_helices) == 0)); - String s = "000000" + Integer.toHexString(bgRgb); + String s = "000000" + Integer.toHexString(bgRgb & 0xFFFFFF); s = "[x" + s.substring(s.length() - 6) + "]"; sb.append(";background " + s); sb.append(";moveto 0 PyMOL " + Escape.eAF(pymolView)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |