diff options
author | Wayde Moss <wbmoss_dev@yahoo.com> | 2021-02-18 18:49:11 +0300 |
---|---|---|
committer | Wayde Moss <wbmoss_dev@yahoo.com> | 2021-02-18 18:49:11 +0300 |
commit | 9cfce143bcc83f359b2837c5d4830c467ed6ef56 (patch) | |
tree | 6b51146bc3a6ddeda533e6a3ab489d535ad98f45 /source/blender/editors | |
parent | 2a3254a4b1089b52b2fe74324b4a895cec0dedd8 (diff) |
- ghost fcurve drawing uses Show Extrapolation settingtemp_T76472_graph_editor_fcurve_extrapolation
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_graph/graph_draw.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/space_graph/graph_draw.c b/source/blender/editors/space_graph/graph_draw.c index e0a37e7306d..e269d425b79 100644 --- a/source/blender/editors/space_graph/graph_draw.c +++ b/source/blender/editors/space_graph/graph_draw.c @@ -1345,9 +1345,7 @@ void graph_draw_ghost_curves(bAnimContext *ac, SpaceGraph *sipo, ARegion *region immUniform1f("dash_width", 20.0f); immUniform1f("dash_factor", 0.5f); - /* Always draw extrapolation since currently ghost fcurve sample points may include extrapolated - * points. */ - const bool draw_extrapolation = true; + const bool draw_extrapolation = (sipo->flag & SIPO_NO_DRAW_EXTRAPOLATION) == 0; /* the ghost curves are simply sampled F-Curves stored in sipo->runtime.ghost_curves */ for (fcu = sipo->runtime.ghost_curves.first; fcu; fcu = fcu->next) { /* set whatever color the curve has set |