blender/source/gameengine/Converter
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
..
BL_ActionActuator.cpp style cleanup 2012-10-22 08:15:51 +00:00
BL_ActionActuator.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
BL_ArmatureActuator.cpp style cleanup 2012-09-16 04:58:18 +00:00
BL_ArmatureActuator.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
BL_ArmatureChannel.cpp code cleanup: some warnings and formatting for PyMethodDef's in the BGE. 2012-11-10 05:42:50 +00:00
BL_ArmatureChannel.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
BL_ArmatureConstraint.cpp code cleanup: some warnings and formatting for PyMethodDef's in the BGE. 2012-11-10 05:42:50 +00:00
BL_ArmatureConstraint.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
BL_ArmatureObject.cpp Code cleanup: add usual 'BKE_' prefix to 'public' constraint functions from blenkernel... 2012-12-23 11:31:15 +00:00
BL_ArmatureObject.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
BL_BlenderDataConversion.cpp BGE bugfix: Material initial object color working in the game 2013-01-26 23:52:55 +00:00
BL_BlenderDataConversion.h BGE: Some as of yet unmerged work I did in the Swiss branch. These changes include: 2012-12-18 20:56:25 +00:00
BL_DeformableGameObject.cpp style cleanup 2012-06-06 22:38:39 +00:00
BL_DeformableGameObject.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
BL_MeshDeformer.cpp style cleanup 2012-10-22 08:15:51 +00:00
BL_MeshDeformer.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
BL_ModifierDeformer.cpp code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
BL_ModifierDeformer.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
BL_ShapeActionActuator.cpp style cleanup 2012-10-22 08:15:51 +00:00
BL_ShapeActionActuator.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
BL_ShapeDeformer.cpp code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
BL_ShapeDeformer.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
BL_SkinDeformer.cpp code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
BL_SkinDeformer.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
BlenderWorldInfo.cpp style cleanup 2012-09-16 04:58:18 +00:00
BlenderWorldInfo.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
CMakeLists.txt make bullet optional again 2013-01-23 07:26:39 +00:00
KX_BlenderScalarInterpolator.cpp code cleanup: remove redundant casts 2012-10-14 08:49:01 +00:00
KX_BlenderScalarInterpolator.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_BlenderSceneConverter.cpp make bullet optional again 2013-01-23 07:26:39 +00:00
KX_BlenderSceneConverter.h BGE: "Fix" for issue [#33663] "Objects Share Materials / Textures When Grouped In SingleTexture / MultiTexture Mode" reported by Josiah Lane (solarlune). 2012-12-24 03:13:53 +00:00
KX_ConvertActuators.cpp BGE: Some as of yet unmerged work I did in the Swiss branch. These changes include: 2012-12-18 20:56:25 +00:00
KX_ConvertActuators.h style cleanup: bge 2012-10-15 04:16:34 +00:00
KX_ConvertControllers.cpp BGE: Some various tweaks to try and get async lib loading to be a bit more stable on more complex scenes. 2012-12-25 08:11:21 +00:00
KX_ConvertControllers.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_ConvertProperties.cpp style cleanup: bge, switch statements mostly. 2012-10-21 07:58:38 +00:00
KX_ConvertProperties.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_ConvertSensors.cpp style cleanup 2012-10-29 02:11:40 +00:00
KX_ConvertSensors.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_IpoConvert.cpp style cleanup: bge, switch statements mostly. 2012-10-21 07:58:38 +00:00
KX_IpoConvert.h code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too. 2012-10-09 13:36:42 +00:00
KX_LibLoadStatus.cpp BGE: Committing async LibLoad from Swiss. This does the lib loading in a separate thread to keep the BGE from freezing. Here is an example from the docs: 2012-12-22 05:38:32 +00:00
KX_LibLoadStatus.h BGE: Committing async LibLoad from Swiss. This does the lib loading in a separate thread to keep the BGE from freezing. Here is an example from the docs: 2012-12-22 05:38:32 +00:00
KX_SoftBodyDeformer.cpp make bullet optional again 2013-01-23 07:26:39 +00:00
KX_SoftBodyDeformer.h code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
SConscript make bullet optional again 2013-01-23 07:26:39 +00:00