Blender Git Loki

Git Commits -> Revision 6271324

Revision 6271324 by Philipp Oeser (master)
September 17, 2020, 17:21 (GMT)
Fix T80131: Rigid Body World Field Weights dont have a proper RNA path
(e.g. cannot be animated)

An RNA path is mandatory for RNA_path_from_ID_to_property, and for
EffectorWeights, this has to be provided using RNA_def_struct_path_func
(since this struct is shared across ParticleSettings, Modifiers and Rigid
Body World). Without this, the animation system cannot work and e.g.
keyframes cannot be inserted.

The case for Rigid Body World in rna_EffectorWeight_path was missing,
now added.

Rigid Body World Field Weights are capable of being animated, tested
with file from T80131 (e.g. gravity, wind).

Maniphest Tasks: T80131

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

Commit Details:

Full Hash: 627132496d18c09a79899a23e3b964da2b9ad080
Parent Commit: b248ec9
Lines Changed: +13, -1

1 Modified Path:

/source/blender/makesrna/intern/rna_object_force.c (+13, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021