diff options
author | mano-wii <germano.costa@ig.com.br> | 2019-07-17 14:30:24 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2019-07-17 14:30:37 +0300 |
commit | 526272bf7ca060f8a7a48fe722a027c8035982cf (patch) | |
tree | fc837eeacc0826e24be02c9a9c1b54c98312f540 /source/blender/makesrna | |
parent | 366865dd020904116086e6d9ec46b8f70c42cdd1 (diff) |
Fix T67115: Changing the Shape of a Force Field object does not refresh the animation
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_object_force.c | 2 |
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); } |