diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2020-07-27 15:57:47 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-07-29 11:10:27 +0300 |
commit | 650cceb4538d1d6355aeca344cf576ab0da80643 (patch) | |
tree | 515e933949b88eabdcdc3c2b865c0994c187ec9f | |
parent | f1f8ac3921141feb3d422df93c28579578a3fbf4 (diff) |
Fix T79264: Mantaflow Field weights cannot be animated
rna_EffectorWeight_path() needs to point to "domain_settings" (instead
of "settings"), was a missing change when switching the FluidModifier to
mantaflow.
Maniphest Tasks: T79264
Differential Revision: https://developer.blender.org/D8398
-rw-r--r-- | source/blender/makesrna/intern/rna_object_force.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_object_force.c b/source/blender/makesrna/intern/rna_object_force.c index 4a34d1465dd..6e1ca7741a7 100644 --- a/source/blender/makesrna/intern/rna_object_force.c +++ b/source/blender/makesrna/intern/rna_object_force.c @@ -808,7 +808,7 @@ static char *rna_EffectorWeight_path(PointerRNA *ptr) if (mmd->domain->effector_weights == ew) { char name_esc[sizeof(md->name) * 2]; BLI_strescape(name_esc, md->name, sizeof(name_esc)); - return BLI_sprintfN("modifiers[\"%s\"].settings.effector_weights", name_esc); + return BLI_sprintfN("modifiers[\"%s\"].domain_settings.effector_weights", name_esc); } } |