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;

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to