Blender Git Loki
Git Commits -> Revision 4d81049
Revision 4d81049 by Dalai Felinto (master) January 26, 2013, 23:52 (GMT) |
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 :) |
Commit Details:
Full Hash: 4d8104917d8a6fd3897a0ab78af112b53e043945
SVN Revision: 54115
Parent Commit: c843833
Lines Changed: +16, -0
1 Modified Path:
/source/gameengine/Converter/BL_BlenderDataConversion.cpp (+16, -0) (Diff)