From ee7538613a18cc9cdfcd4413bc9dfd15a12e7e2f Mon Sep 17 00:00:00 2001 From: Sergej Reich Date: Sun, 3 May 2015 17:52:54 +0200 Subject: [PATCH] Rigidbody: Fix viewport update when changing collision shape in toolbar --- source/blender/editors/physics/rigidbody_object.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/editors/physics/rigidbody_object.c b/source/blender/editors/physics/rigidbody_object.c index 9b4f128ef86..c8b944f7d2a 100644 --- a/source/blender/editors/physics/rigidbody_object.c +++ b/source/blender/editors/physics/rigidbody_object.c @@ -348,6 +348,7 @@ static int rigidbody_objects_shape_change_exec(bContext *C, wmOperator *op) if (changed) { /* send updates */ WM_event_add_notifier(C, NC_OBJECT | ND_POINTCACHE, NULL); + WM_event_add_notifier(C, NC_SPACE | ND_SPACE_VIEW3D, NULL); /* done */ return OPERATOR_FINISHED;