Blender Git Commit Log

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

4 Modified Paths:

/source/gameengine/Converter/BlenderWorldInfo.cpp (+6, -0) (Diff)
/source/gameengine/Converter/BlenderWorldInfo.h (+6, -0) (Diff)
/source/gameengine/Ketsji/KX_PythonInit.cpp (+5, -0) (Diff)
/source/gameengine/Ketsji/KX_WorldInfo.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021