Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Swaney <sswaney@centurytel.net>2005-06-10 16:33:09 +0400
committerStephen Swaney <sswaney@centurytel.net>2005-06-10 16:33:09 +0400
commit19cb1ae5e8933d0dbeec2b9fb18f833bb9f67bdc (patch)
tree8f57c0d9aca220e6c35a94a12e25de0125bfe643
parentac16f0092cc02a010fd16eb05a6af934fcc8d0e9 (diff)
Lamp Ipo blocktype was incorrect
-rw-r--r--source/blender/python/api2_2x/Lamp.c2
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" );