diff --git a/source/blender/editors/space_graph/graph_draw.c b/source/blender/editors/space_graph/graph_draw.c index f315690a50d..bc71437112d 100644 --- a/source/blender/editors/space_graph/graph_draw.c +++ b/source/blender/editors/space_graph/graph_draw.c @@ -704,7 +704,7 @@ static void draw_fcurve_curve_samples(bAnimContext *ac, const uint shdr_pos, const bool draw_extrapolation) { - if (!draw_extrapolation) { + if (!draw_extrapolation && fcu->totvert == 1) { return; } @@ -817,7 +817,7 @@ static bool fcurve_can_use_simple_bezt_drawing(FCurve *fcu) static void draw_fcurve_curve_bezts( bAnimContext *ac, ID *id, FCurve *fcu, View2D *v2d, uint pos, const bool draw_extrapolation) { - if (!draw_extrapolation) { + if (!draw_extrapolation && fcu->totvert == 1) { return; }