diff options
Diffstat (limited to 'source/blender/python/api2_2x')
-rw-r--r-- | source/blender/python/api2_2x/Material.c | 4 | ||||
-rw-r--r-- | source/blender/python/api2_2x/doc/Material.py | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Material.c b/source/blender/python/api2_2x/Material.c index 8ec1a8fab06..fc697bee343 100644 --- a/source/blender/python/api2_2x/Material.c +++ b/source/blender/python/api2_2x/Material.c @@ -1,5 +1,5 @@ /* - * $Id: Material.c 12078 2007-09-18 06:41:29Z campbellbarton $ + * $Id$ * * ***** BEGIN GPL/BL DUAL LICENSE BLOCK ***** * @@ -367,6 +367,8 @@ static PyObject *Material_ModesDict( void ) PyConstant_Insert(c, "TANGENT_V", PyInt_FromLong(MA_TANGENT_V)); PyConstant_Insert(c, "NMAP_TS", PyInt_FromLong(MA_NORMAP_TANG)); PyConstant_Insert(c, "GROUP_EXCLUSIVE", PyInt_FromLong(MA_GROUP_NOLAY)); + PyConstant_Insert(c, "TEXFACE_ALPHA", PyInt_FromLong(MA_FACETEXTURE_ALPHA)); + } return Modes; diff --git a/source/blender/python/api2_2x/doc/Material.py b/source/blender/python/api2_2x/doc/Material.py index 40207dd92c0..edcdbbb959b 100644 --- a/source/blender/python/api2_2x/doc/Material.py +++ b/source/blender/python/api2_2x/doc/Material.py @@ -50,6 +50,7 @@ Example:: - ONLYSHADOW - Let alpha be determined on the degree of shadow. - + HALOXALPHA - Use extreme alpha. - TEXFACE - UV-Editor assigned texture gives color and texture info for faces. + - TEXFACE_ALPHA - When TEXFACE is enabled, use the alpha as well. - + HALOSTAR - Render halo as a star. - NOMIST - Set the Material insensitive to mist. - + HALOSHADED - Let halo receive light. |