Blender Git Loki
Git Commits -> Revision eff0e29
Revision eff0e29 by Dalai Felinto (master) January 18, 2011, 22:27 (GMT) |
BGE BugFix [#25711]render.setBackgroundColor() does not work: Since rev.2 (hans ftw) we have a strange situation where horizon color was being used at Convert time for the WorldInfo background color (and for the fog). However through the Python API only the Rasterizer background color was being updated. On top of that the KX_KetsjiEngine.cpp::SetBackGround was using the WorldInfo bgcolor when render mode was the potato one (TEXTURED). Bottomline, when in potato mode the glClearColor used was the original one in worldinfo, not the API updated one in Rasterized. |
Commit Details:
Full Hash: eff0e29cbae095baae26fc650baed36ff0573f50
SVN Revision: 34393
Parent Commit: 3b0c2ac
Lines Changed: +18, -0