Blender Git Statistics -> Branches -> temp_T76472_graph_editor_fcurve_extrapolation

"Temp_t76472_graph_editor_fcurve_extrapolation" branch

Total commits : 2
Total committers : 1
First Commit : February 17, 2021
Latest Commit : February 18, 2021


Commits by Date

DateNumber of Commits
February 18, 20211
February 17, 20211

Committers

AuthorNumber of Commits
Wayde Moss2

Popular Files

FilenameTotal Edits
graph_draw.c2
rna_space.c1
DNA_space_types.h1
space_graph.py1

Latest commits Feed

February 18, 2021, 15:49 (GMT)
- ghost fcurve drawing uses Show Extrapolation setting
February 17, 2021, 04:42 (GMT)
Graph Editor: FCurve Extrapolation Visibility T76472

Adds toggle to graph editor (View->Show Extrapolation). When disabled, then fcurves only draw over the keyframe range. For baked fcurves, the range is all sampled points. For ghost fcurves, extraplation is always drawn since the sampled points may include extrapolated points of the original fcurve.

Show Extrapolation is the default.
___

**Technical Notes**:
- `draw_fcurve_curve()`: There are now explicit checks for floating point poor accuracy cases. Without them, then there would be visual flickering when no extrapolation is drawn and there is a discontinuity at the end (due to cyclic modifier). This removes the need for the `+samplefreq` in `etime = v2d->curxmax + samplefreq`. It also removes the need to do so on `fcu_start/fcu_end`.
- `draw_fcurve_curve()`: Besides the previous note, the only other meaningful change is the `if(!draw_extrapolation)` branch which just changes `stime/etime` to match the keyframe bounds instead.

Differential Revision: https://developer.blender.org/D10442

MiikaHweb - Blender Git Statistics v1.06
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021