== Python API ==

Bug fix for Effect.setStype().
This commit is contained in:
Jiri Hnidek 2007-04-18 15:30:33 +00:00
parent 3e1a5ce7a2
commit 58e1ceadf4

@ -795,7 +795,7 @@ static int Effect_setStype( BPy_Effect * self, PyObject * args )
if( !PyArg_Parse( args, "h", &param ) )
return EXPP_ReturnIntError( PyExc_TypeError,
"expected an int as argument" );
self->effect->stype |= 1-param;
self->effect->stype = param;
return 0;
}