Merging r41120 through from trunk r41139 into soc-2011-tomato
[blender.git] / source / blender / editors / transform / transform_conversions.c
index 2f0f4e2..702e5cc 100644 (file)
@@ -2955,7 +2955,7 @@ static TransData *ActionFCurveToTransData(TransData *td, TransData2D **td2dv, FC
        TransData2D *td2d = *td2dv;
        int i;
 
-       if (fcu == NULL)
+       if (ELEM(NULL, fcu, fcu->bezt))
                return td;
 
        for (i=0, bezt=fcu->bezt; i < fcu->totvert; i++, bezt++) {