diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/api2_2x/Lamp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Lamp.c b/source/blender/python/api2_2x/Lamp.c index f3eefd8675c..6d2b6260823 100644 --- a/source/blender/python/api2_2x/Lamp.c +++ b/source/blender/python/api2_2x/Lamp.c @@ -1513,7 +1513,7 @@ static PyObject *Lamp_setIpo( BPy_Lamp * self, PyObject * args ) return EXPP_ReturnPyObjError( PyExc_RuntimeError, "null ipo!" ); - if( ipo->blocktype != ID_TE ) + if( ipo->blocktype != ID_LA ) return EXPP_ReturnPyObjError( PyExc_TypeError, "this ipo is not a lamp data ipo" ); |