blender/source
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
..
blender Fix [#34005] blender will close immediately in debug mode on deleting objects 2013-01-26 17:38:45 +00:00
blenderplayer rigidbody: Add rigidbody module 2013-01-23 05:56:13 +00:00
creator make bullet optional again 2013-01-23 07:26:39 +00:00
gameengine BGE bugfix: Material initial object color working in the game 2013-01-26 23:52:55 +00:00
icons Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00
tests patch [#33924] Spelling Corrections 2013-01-19 03:04:51 +00:00
CMakeLists.txt
SConscript Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00