[Bf-blender-cvs] [526272bf7ca] master: Fix T67115: Changing the Shape of a Force Field object does not refresh the animation

mano-wii noreply at git.blender.org
Wed Jul 17 13:36:10 CEST 2019


Commit: 526272bf7ca060f8a7a48fe722a027c8035982cf
Author: mano-wii
Date:   Wed Jul 17 08:30:24 2019 -0300
Branches: master
https://developer.blender.org/rB526272bf7ca060f8a7a48fe722a027c8035982cf

Fix T67115: Changing the Shape of a Force Field object does not refresh the animation

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

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 c97491a92c6..ab6cffe615d 100644
--- a/source/blender/makesrna/intern/rna_object_force.c
+++ b/source/blender/makesrna/intern/rna_object_force.c
@@ -523,6 +523,8 @@ static void rna_FieldSettings_shape_update(Main *bmain, Scene *scene, PointerRNA
   if (!particle_id_check(ptr)) {
     Object *ob = (Object *)ptr->id.data;
     ED_object_check_force_modifiers(bmain, scene, ob);
+
+    DEG_id_tag_update(&ob->id, ID_RECALC_TRANSFORM);
     WM_main_add_notifier(NC_OBJECT | ND_DRAW, ob);
     WM_main_add_notifier(NC_OBJECT | ND_MODIFIER, ob);
   }



More information about the Bf-blender-cvs mailing list