Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPorteries Tristan <republicthunderbolt9@gmail.com>2015-07-03 12:47:48 +0300
committerPorteries Tristan <republicthunderbolt9@gmail.com>2015-07-03 12:47:48 +0300
commit145ab8c49efe0de188a55f4c682dd5fcf916f105 (patch)
tree543a2dd491a0601be32d7486bd2ee92868656d8d /source/gameengine/Ketsji/KX_PythonInitTypes.cpp
parent659e5234afcd09db6b9000990d66d3e59880e29a (diff)
BGE: Extend Python API for KX_BlenderMaterial (specular, diffuse…)
Add support for material diffuse, specular… in KX_BlenderMaterial python proxy. And use mathutils in KX_BlenderMaterial for the specular and diffuse color in KX_BlenderMaterial. Reviewers: sybren, brita_, kupoman, agoose77, dfelinto, moguri, campbellbarton, hg1 Reviewed By: moguri, campbellbarton, hg1 Subscribers: dfelinto Projects: #game_engine Differential Revision: https://developer.blender.org/D1298
Diffstat (limited to 'source/gameengine/Ketsji/KX_PythonInitTypes.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_PythonInitTypes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_PythonInitTypes.cpp b/source/gameengine/Ketsji/KX_PythonInitTypes.cpp
index b3511e4e61a..ef6ad4712a5 100644
--- a/source/gameengine/Ketsji/KX_PythonInitTypes.cpp
+++ b/source/gameengine/Ketsji/KX_PythonInitTypes.cpp
@@ -282,6 +282,7 @@ PyMODINIT_FUNC initGameTypesPythonBinding(void)
KX_GameObject_Mathutils_Callback_Init();
KX_ObjectActuator_Mathutils_Callback_Init();
KX_WorldInfo_Mathutils_Callback_Init();
+ KX_BlenderMaterial_Mathutils_Callback_Init();
#endif
return m;