Blender Git Commit Log

Git Commits -> Revision c2971ee

Revision c2971ee by Philipp Oeser (blender-v2.93-release)
November 28, 2021, 15:23 (GMT)
Fix T93338: Curve Guide force field crash

Caused by {rBcf2baa585cc8}.

For Curve Guide force fields to work, the `Path Animation` option has to
be enabled. With it disabled, we are lacking the necessary
`anim_path_accum_length` data initialized [done by
`BKE_anim_path_calc_data`] which `BKE_where_on_path` relies on since
above commit.

Now just check for this before using it - and return early otherwise.
Prior to said commit, `BKE_where_on_path` would equally return early
with a similar message, so that is expected behavior here.

Maniphest Tasks: T93338

Differential Revision: https://developer.blender.org/D13371

Commit Details:

Full Hash: c2971eea8434f6487ffa6e77d604c775a97b13ef
Parent Commit: 647578b
Lines Changed: +4, -0

1 Modified Path:

/source/blender/blenkernel/intern/anim_path.c (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021