Assorted loose ends for auto-clamped handles work
[blender.git] / source / blender / makesrna / intern / rna_fcurve.c
index 2f37a6921d18510d00ec948c85517d0d72f3f849..6bb1416e7fcd00509a6575c628f4ab3325b0df64 100644 (file)
@@ -596,15 +596,15 @@ static void rna_FKeyframe_points_add(FCurve *fcu, int tot)
                else {
                        fcu->bezt= MEM_callocN(sizeof(BezTriple) * tot, "rna_FKeyframe_points_add");
                }
-
+               
                bezt= fcu->bezt + fcu->totvert;
                fcu->totvert += tot;
-
+               
                while(tot--) {
                        /* defaults, no userprefs gives pradictable results for API */
                        bezt->f1= bezt->f2= bezt->f3= SELECT;
                        bezt->ipo= BEZT_IPO_BEZ;
-                       bezt->h1= bezt->h2= HD_AUTO;
+                       bezt->h1= bezt->h2= HD_AUTO_ANIM;
                        bezt++;
                }
        }