diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-07 18:06:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-07 18:39:40 +0300 |
commit | cf38b08f5271f00ff9e0008cb338ae9fdac49dd6 (patch) | |
tree | e194ff8bcbe88557d0447553778692b3e4fd5c91 /source/blender/windowmanager/WM_api.h | |
parent | 605749ffaaa1dc004eb8595c2b5c3bad00f2bb34 (diff) |
Fix gizmos not responding to theme color updates
Re-create gizmos when changing theme colors, since
theme colors don't change often this allows gizmos to setup their
colors on initialization.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index 3037e0fbaae..38fb27d2538 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -102,6 +102,7 @@ void WM_init_splash (struct bContext *C); void WM_init_opengl (struct Main *bmain); void WM_check (struct bContext *C); +void WM_reinit_gizmomap_all(struct Main *bmain); int WM_window_pixels_x(const struct wmWindow *win); int WM_window_pixels_y(const struct wmWindow *win); |