[Bf-blender-cvs] [650cceb4538] blender-v2.83-release: Fix T79264: Mantaflow Field weights cannot be animated

Philipp Oeser noreply at git.blender.org
Wed Jul 29 10:53:12 CEST 2020


Commit: 650cceb4538d1d6355aeca344cf576ab0da80643
Author: Philipp Oeser
Date:   Mon Jul 27 14:57:47 2020 +0200
Branches: blender-v2.83-release
https://developer.blender.org/rB650cceb4538d1d6355aeca344cf576ab0da80643

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

===================================================================

M	source/blender/makesrna/intern/rna_object_force.c

===================================================================

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);
       }
     }



More information about the Bf-blender-cvs mailing list