diff options
author | Hans Goudey <h.goudey@me.com> | 2022-02-09 20:06:10 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-02-09 20:06:10 +0300 |
commit | d1202bd641ca2652fac9620bc06dad757584b1e0 (patch) | |
tree | 7d410e3844000cd35d5718fd5d038a6eb3a3bf96 /source/blender/imbuf/IMB_metadata.h | |
parent | c69ee218d786e6ae24804b00e7a7856c7638f7b0 (diff) |
Fix T95620: Crash When Entering Edit Mode on a Curve
Under some circumstances, simply adding a curve object and going
to edit mode would cause a crash. This is because the evaluated
`CurveEval` was accessed but also freed by the dependency graph.
The fix reverts the part of b76918717dbfd8363f that uses the
`CurveEval` for the curve object bounds. While this isn't ideal,
it was the previous behavior, and some unexpected behavior
with object bounds is much better than a crash. Plus, given the plans
of using the new "Curves" data-block for evaluated curves, this
situation will change relatively soon anyway.
Diffstat (limited to 'source/blender/imbuf/IMB_metadata.h')
0 files changed, 0 insertions, 0 deletions