Cosmetic fixes
* PoseBone struct didn't have an icon * Comment fixes (stil referenced IPO's)
This commit is contained in:
@@ -187,7 +187,7 @@ void clean_fcurve(FCurve *fcu, float thresh)
|
||||
if ((fcu == NULL) || (fcu->bezt == NULL) || (fcu->totvert <= 1))
|
||||
return;
|
||||
|
||||
/* make a copy of the old BezTriples, and clear IPO curve */
|
||||
/* make a copy of the old BezTriples, and clear F-Curve */
|
||||
old_bezts = fcu->bezt;
|
||||
totCount = fcu->totvert;
|
||||
fcu->bezt = NULL;
|
||||
@@ -412,13 +412,13 @@ void sample_fcurve(FCurve *fcu)
|
||||
if (range) {
|
||||
value_cache = MEM_callocN(sizeof(TempFrameValCache) * range, "IcuFrameValCache");
|
||||
|
||||
/* sample values */
|
||||
/* sample values */
|
||||
for (n = 1, fp = value_cache; n < range && fp; n++, fp++) {
|
||||
fp->frame = (float)(sfra + n);
|
||||
fp->val = evaluate_fcurve(fcu, fp->frame);
|
||||
}
|
||||
|
||||
/* add keyframes with these, tagging as 'breakdowns' */
|
||||
/* add keyframes with these, tagging as 'breakdowns' */
|
||||
for (n = 1, fp = value_cache; n < range && fp; n++, fp++) {
|
||||
nIndex = insert_vert_fcurve(fcu, fp->frame, fp->val, 1);
|
||||
BEZKEYTYPE(fcu->bezt + nIndex) = BEZT_KEYTYPE_BREAKDOWN;
|
||||
|
||||
Reference in New Issue
Block a user