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
This commit is contained in:
parent
f1f8ac3921
commit
650cceb453
Notes:
blender-bot
2023-02-14 08:38:11 +01:00
Referenced by issue #79264, Cant animate mantaflow field weights Referenced by issue #77348, Blender LTS: Maintenance Task 2.83
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue