diff options
Diffstat (limited to 'source/blender/python/api2_2x/World.c')
-rw-r--r-- | source/blender/python/api2_2x/World.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/World.c b/source/blender/python/api2_2x/World.c index d35dbef5145..01355dd0322 100644 --- a/source/blender/python/api2_2x/World.c +++ b/source/blender/python/api2_2x/World.c @@ -444,7 +444,7 @@ static PyObject *World_setIpo( BPy_World * self, PyObject * args ) return EXPP_ReturnPyObjError( PyExc_RuntimeError, "null ipo!" ); - if( ipo->blocktype != ID_CA ) + if( ipo->blocktype != ID_WO ) return EXPP_ReturnPyObjError( PyExc_TypeError, "this ipo is not a World type ipo" ); |