forked from bartvdbraak/blender
== Python API ==
Bug fix for Effect.setStype().
This commit is contained in:
parent
3e1a5ce7a2
commit
58e1ceadf4
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user