-
- Downloads
Patch T36209: Use binary search function for evaluating F-Curves
This provides a speedup to evaluating long F-Curves in fcurve_eval_keyframes() by using the pre-existing binarysearch_bezt_index() function (used for keyframe insertion) to find the relevant BezTriple on the FCurve at the current evaltime. The current code loops over all BezTriples (sometimes not even breaking from the loop after cvalue has been evaluated). Reviewer Notes: - Unlike in the original patch, we use the old/existing logic instead of checking that (exact == true). See comments in code and also on the tracker entry for this patch for more details. Patch By: Josh Wedlake
Please register or sign in to comment