[Bf-blender-cvs] [99e8346babb] master: Fix T65969: missing update of properties editor for Dyntopo checkbox

Alessio Monti di Sopra noreply at git.blender.org
Fri Jun 21 13:31:18 CEST 2019


Commit: 99e8346babbd9ac861f8cd35feec316a5be76365
Author: Alessio Monti di Sopra
Date:   Fri Jun 21 13:29:49 2019 +0200
Branches: master
https://developer.blender.org/rB99e8346babbd9ac861f8cd35feec316a5be76365

Fix T65969: missing update of properties editor for Dyntopo checkbox

Differential Revision: https://developer.blender.org/D5111

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

M	source/blender/editors/sculpt_paint/sculpt.c

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

diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 5a7fb1abb7b..ec7cb410f2c 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -5807,6 +5807,7 @@ static int sculpt_dynamic_topology_toggle_exec(bContext *C, wmOperator *UNUSED(o
   }
 
   WM_cursor_wait(0);
+  WM_main_add_notifier(NC_SCENE | ND_TOOLSETTINGS, NULL);
 
   return OPERATOR_FINISHED;
 }



More information about the Bf-blender-cvs mailing list