Commit: f9beb1bef1787166aafd35d326244f3e3f83487e Author: Philipp Oeser Date: Wed Sep 18 15:19:15 2019 +0200 Branches: master https://developer.blender.org/rBf9beb1bef1787166aafd35d326244f3e3f83487e
Fix (unreported) missing viewport update deleting a particle If children hairs were displayed in particle editmode, these would not update when a particle was deleted. Reviewers: sergey Differential Revision: https://developer.blender.org/D5840 =================================================================== M source/blender/editors/physics/particle_edit.c =================================================================== diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c index 2047ecb9e0a..59973d9ee8a 100644 --- a/source/blender/editors/physics/particle_edit.c +++ b/source/blender/editors/physics/particle_edit.c @@ -3315,6 +3315,7 @@ static int delete_exec(bContext *C, wmOperator *op) } DEG_id_tag_update(&data.ob->id, ID_RECALC_GEOMETRY); + BKE_particle_batch_cache_dirty_tag(data.edit->psys, BKE_PARTICLE_BATCH_DIRTY_ALL); WM_event_add_notifier(C, NC_OBJECT | ND_PARTICLE | NA_EDITED, data.ob); return OPERATOR_FINISHED; _______________________________________________ Bf-blender-cvs mailing list [email protected] https://lists.blender.org/mailman/listinfo/bf-blender-cvs
