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:
authormano-wii <germano.costa@ig.com.br>2019-07-17 14:30:24 +0300
committermano-wii <germano.costa@ig.com.br>2019-07-17 14:30:37 +0300
commit526272bf7ca060f8a7a48fe722a027c8035982cf (patch)
treefc837eeacc0826e24be02c9a9c1b54c98312f540
parent366865dd020904116086e6d9ec46b8f70c42cdd1 (diff)
Fix T67115: Changing the Shape of a Force Field object does not refresh the animation
-rw-r--r--source/blender/makesrna/intern/rna_object_force.c2
1 files changed, 2 insertions, 0 deletions
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);
}