blender/source/gameengine
Dalai Felinto 4d8104917d BGE bugfix: Material initial object color working in the game
The object color option in the materials always worked, however the initial color of the object
was never passed to the game.

We are now passing it only, only when the object's mesh has a material that has ((shade_flags & OB_COLOR)).
There reason to not always set the object color is probably due to performance (the m_bUseObjectColor
flag in KX_GameObject). This patch still respect that.

Bug report from Mike Pan, as part of our book nitty-gritties review work.
Bugfix during Vancouver Global Game Jam :)
2013-01-26 23:52:55 +00:00
..
BlenderRoutines make bullet optional again 2013-01-23 07:26:39 +00:00
Converter BGE bugfix: Material initial object color working in the game 2013-01-26 23:52:55 +00:00
Expressions style cleanup 2013-01-15 23:45:41 +00:00
GameLogic BGE: Fix for [#33839] "a logic.joysticks Crashes BGE" reported by Josiah Lane (solarlune). 2013-01-12 05:44:08 +00:00
GamePlayer BGE: Fixing an assert with the canvas' GetViewPort(). bf_gpu was changing the viewport when handling shadow buffers. KX_LightObject::BindShadowBuffer() now updates the canvas with the new viewport information from bf_gpu. 2012-12-25 06:20:50 +00:00
Ketsji make bullet optional again 2013-01-23 07:26:39 +00:00
Network Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00
Physics make bullet optional again 2013-01-23 07:26:39 +00:00
Rasterizer BGE: Adding preliminary alpha shadow support for Simple shadow maps. They do not work in the viewport nor do they work for Variance shadow maps. 2013-01-12 20:01:58 +00:00
SceneGraph Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00
VideoTexture Patch #33837: ffmpeg1.1 and libav9.1 compatibility update 2013-01-12 12:51:10 +00:00
CMakeLists.txt code cleanup: use system includes for cmake, otherwise warnings get printed in headers. 2012-09-18 04:40:20 +00:00
SConscript Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00