Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2020-07-27 15:57:47 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2020-07-28 12:36:07 +0300
commit290b372aac9e3b400b72bb1b9686431aad870dca (patch)
tree9a24db7072227de0977b932f1ae3b5ce5a6a63f6 /source/blender/makesrna/intern/rna_object_force.c
parent617e67529c59351a2344f9bac47c79268a81e1d0 (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
Diffstat (limited to 'source/blender/makesrna/intern/rna_object_force.c')
-rw-r--r--source/blender/makesrna/intern/rna_object_force.c2
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 2524f590051..fa837df682a 100644
--- a/source/blender/makesrna/intern/rna_object_force.c
+++ b/source/blender/makesrna/intern/rna_object_force.c
@@ -809,7 +809,7 @@ static char *rna_EffectorWeight_path(PointerRNA *ptr)
if (fmd->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);
}
}