Rigidbody: Fix viewport update when changing collision shape in toolbar

This commit is contained in:
2015-05-03 17:52:54 +02:00
parent d33b564f91
commit ee7538613a

View File

@@ -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;