Rigidbody: Fix viewport update when changing collision shape in toolbar
This commit is contained in:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user