Fix #106095: FCurves not drawn when Extrapolation is disabled #106100
@ -704,7 +704,7 @@ static void draw_fcurve_curve_samples(bAnimContext *ac,
|
|||||||
const uint shdr_pos,
|
const uint shdr_pos,
|
||||||
const bool draw_extrapolation)
|
const bool draw_extrapolation)
|
||||||
{
|
{
|
||||||
if (!draw_extrapolation) {
|
if (!draw_extrapolation && fcu->totvert == 1) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -817,7 +817,7 @@ static bool fcurve_can_use_simple_bezt_drawing(FCurve *fcu)
|
|||||||
static void draw_fcurve_curve_bezts(
|
static void draw_fcurve_curve_bezts(
|
||||||
bAnimContext *ac, ID *id, FCurve *fcu, View2D *v2d, uint pos, const bool draw_extrapolation)
|
bAnimContext *ac, ID *id, FCurve *fcu, View2D *v2d, uint pos, const bool draw_extrapolation)
|
||||||
{
|
{
|
||||||
if (!draw_extrapolation) {
|
if (!draw_extrapolation && fcu->totvert == 1) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user