diff options
Diffstat (limited to 'source/blender/python/api2_2x/Ipocurve.c')
-rw-r--r-- | source/blender/python/api2_2x/Ipocurve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Ipocurve.c b/source/blender/python/api2_2x/Ipocurve.c index 29ccb142f9a..7b071ab1f76 100644 --- a/source/blender/python/api2_2x/Ipocurve.c +++ b/source/blender/python/api2_2x/Ipocurve.c @@ -645,7 +645,7 @@ static PyObject *IpoCurve_getPoints( C_IpoCurve * self ) po = BezTriple_CreatePyObject( bezt ); if( !po ) { Py_DECREF( list ); - return NULL; + return NULL; /* This is okay since the error is alredy set */ } PyList_SET_ITEM( list, i, po ); } |