Bugfix T41240: Home key doesn't show everything on F-Curves
Own copy and paste typo in 73d157e
meant that this was not in some cases,
the bounds calculated may be incorrect.
This commit is contained in:
parent
f06be2b4f4
commit
3a4e8f8184
Notes:
blender-bot
2023-06-07 10:31:13 +02:00
Referenced by issue #41240, Home key doesn't show everything on F-Curves
|
@ -542,7 +542,7 @@ bool calc_fcurve_bounds(FCurve *fcu, float *xmin, float *xmax, float *ymin, floa
|
|||
/* right handle - only if applicable */
|
||||
if (bezt->ipo == BEZT_IPO_BEZ) {
|
||||
yminv = min_ff(yminv, bezt->vec[2][1]);
|
||||
ymaxv = min_ff(ymaxv, bezt->vec[2][1]);
|
||||
ymaxv = max_ff(ymaxv, bezt->vec[2][1]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue