diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-03-12 12:04:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-03-12 12:04:07 +0300 |
commit | c8d9d60a99188b8809612402bfa4cf2df4dda897 (patch) | |
tree | 1c3c28af7b3bcccf717b705a2cba2fa20674e469 /source/blender/python/api2_2x/Material.c | |
parent | 33a6bf610eb66ef6c306d5b8759043960edc8052 (diff) |
Added python access to TEXFACE_ALPHA
Diffstat (limited to 'source/blender/python/api2_2x/Material.c')
-rw-r--r-- | source/blender/python/api2_2x/Material.c | 4 |
1 files changed, 3 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; |