diff options
author | Stephen Swaney <sswaney@centurytel.net> | 2005-06-10 16:33:09 +0400 |
---|---|---|
committer | Stephen Swaney <sswaney@centurytel.net> | 2005-06-10 16:33:09 +0400 |
commit | 19cb1ae5e8933d0dbeec2b9fb18f833bb9f67bdc (patch) | |
tree | 8f57c0d9aca220e6c35a94a12e25de0125bfe643 /source/blender/python/api2_2x | |
parent | ac16f0092cc02a010fd16eb05a6af934fcc8d0e9 (diff) |
Lamp Ipo blocktype was incorrect
Diffstat (limited to 'source/blender/python/api2_2x')
-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" ); |