[Bf-blender-cvs] [ee75386] master: Rigidbody: Fix viewport update when changing collision shape in toolbar

Sergej Reich noreply at git.blender.org
Sun May 3 17:58:43 CEST 2015


Commit: ee7538613a18cc9cdfcd4413bc9dfd15a12e7e2f
Author: Sergej Reich
Date:   Sun May 3 17:52:54 2015 +0200
Branches: master
https://developer.blender.org/rBee7538613a18cc9cdfcd4413bc9dfd15a12e7e2f

Rigidbody: Fix viewport update when changing collision shape in toolbar

===================================================================

M	source/blender/editors/physics/rigidbody_object.c

===================================================================

diff --git a/source/blender/editors/physics/rigidbody_object.c b/source/blender/editors/physics/rigidbody_object.c
index 9b4f128e..c8b944f 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;




More information about the Bf-blender-cvs mailing list