Blender Git Commit Log

Git Commits -> Revision ffddf9e

Revision ffddf9e by Philipp Oeser (master)
November 25, 2021, 13:16 (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: ffddf9e5c9175d25078ca441b21e5eb478ecd106
Parent Commit: 845716e
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