Bugfix #21434: 'Ghost' for Rotation F-curves was not taking unit conversions into account, so the ghost curves were calculated+stored wrong

This commit is contained in:
2010-03-05 11:35:15 +00:00
parent 8f5c9f64e2
commit b055e596cc

View File

@@ -307,7 +307,7 @@ static void create_ghost_curves (bAnimContext *ac, int start, int end)
float cfrae= BKE_nla_tweakedit_remap(adt, cfra, NLATIME_CONVERT_UNMAP);
fpt->vec[0]= cfrae;
fpt->vec[1]= fcurve_samplingcb_evalcurve(fcu, NULL, cfrae);
fpt->vec[1]= fcurve_samplingcb_evalcurve(fcu, NULL, cfrae) * unitFac;
}
/* set color of ghost curve