[Bf-blender-cvs] [3c014fe3fb7] master: Fix T68187: Factory Preferences doesn't update gizmo colors

Campbell Barton noreply at git.blender.org
Mon Aug 12 20:46:03 CEST 2019


Commit: 3c014fe3fb7cab3412de8cb5af194387f0a57af5
Author: Campbell Barton
Date:   Tue Aug 13 04:44:25 2019 +1000
Branches: master
https://developer.blender.org/rB3c014fe3fb7cab3412de8cb5af194387f0a57af5

Fix T68187: Factory Preferences doesn't update gizmo colors

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

M	source/blender/windowmanager/intern/wm_files.c

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

diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index 528d8dc3ca3..189c4f18613 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -1804,7 +1804,9 @@ static void wm_userpref_update_when_changed(bContext *C,
   BPY_execute_string(C, (const char *[]){"addon_utils", NULL}, "addon_utils.reset_all()");
 #endif
 
+  WM_reinit_gizmomap_all(bmain);
   WM_keyconfig_reload(C);
+
   userdef_curr->runtime.is_dirty = is_dirty;
 }



More information about the Bf-blender-cvs mailing list