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:
authorCampbell Barton <ideasman42@gmail.com>2007-01-13 08:06:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-01-13 08:06:28 +0300
commita935c48fec910f67ba3679e295d9e35fe44ce214 (patch)
treee82ec40dd003e6ec67decc7d44ae09c7653af7cf /source/blender/python/api2_2x/MTex.c
parent156ac69aad5babbe7c610dfed1a8d808b4b58fb7 (diff)
added stress and tangent to MTex and texture mapping dict
Diffstat (limited to 'source/blender/python/api2_2x/MTex.c')
-rw-r--r--source/blender/python/api2_2x/MTex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/MTex.c b/source/blender/python/api2_2x/MTex.c
index 6e896448792..7e9671dfd62 100644
--- a/source/blender/python/api2_2x/MTex.c
+++ b/source/blender/python/api2_2x/MTex.c
@@ -373,7 +373,8 @@ static int MTex_setTexCo( BPy_MTex *self, PyObject *value, void *closure)
if (texco != TEXCO_ORCO && texco != TEXCO_REFL && texco != TEXCO_NORM &&
texco != TEXCO_GLOB && texco != TEXCO_UV && texco != TEXCO_OBJECT &&
- texco != TEXCO_WINDOW && texco != TEXCO_VIEW && texco != TEXCO_STICKY )
+ texco != TEXCO_STRESS && texco != TEXCO_TANGENT && texco != TEXCO_WINDOW &&
+ texco != TEXCO_VIEW && texco != TEXCO_STICKY )
return EXPP_ReturnIntError( PyExc_ValueError,
"Value must be a member of Texture.TexCo dictionary" );