Fix T67115: Changing the Shape of a Force Field object does not refresh the animation
This commit is contained in:
parent
366865dd02
commit
526272bf7c
Notes:
blender-bot
2023-02-14 11:25:11 +01:00
Referenced by issue #67115, Changing the Shape option of a Force Field object does not refresh the animation.
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue