diff options
author | Jiri Hnidek <jiri.hnidek@tul.cz> | 2007-04-18 19:30:33 +0400 |
---|---|---|
committer | Jiri Hnidek <jiri.hnidek@tul.cz> | 2007-04-18 19:30:33 +0400 |
commit | 58e1ceadf4a2bc0b2896de63f35e624ac5c66235 (patch) | |
tree | 52a32f95682c0def886566248383ffa56b9c350a /source/blender/python/api2_2x/Effect.c | |
parent | 3e1a5ce7a2596ebc135455f9934d128223cc089a (diff) |
== Python API ==
Bug fix for Effect.setStype().
Diffstat (limited to 'source/blender/python/api2_2x/Effect.c')
-rw-r--r-- | source/blender/python/api2_2x/Effect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Effect.c b/source/blender/python/api2_2x/Effect.c index 4f689de4b05..560b67c1933 100644 --- a/source/blender/python/api2_2x/Effect.c +++ b/source/blender/python/api2_2x/Effect.c @@ -795,7 +795,7 @@ static int Effect_setStype( BPy_Effect * self, PyObject * args ) if( !PyArg_Parse( args, "h", ¶m ) ) return EXPP_ReturnIntError( PyExc_TypeError, "expected an int as argument" ); - self->effect->stype |= 1-param; + self->effect->stype = param; return 0; } |