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/gizmo/WM_gizmo_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/gizmo/WM_gizmo_api.h')
-rw-r--r-- | source/blender/windowmanager/gizmo/WM_gizmo_api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/gizmo/WM_gizmo_api.h b/source/blender/windowmanager/gizmo/WM_gizmo_api.h index 56e22855d68..b48f58cda7f 100644 --- a/source/blender/windowmanager/gizmo/WM_gizmo_api.h +++ b/source/blender/windowmanager/gizmo/WM_gizmo_api.h @@ -246,6 +246,7 @@ int WM_gizmo_cmp_temp_fl_reverse(const void *gz_a_ptr, const void *gz_b_ptr); struct wmGizmoMap *WM_gizmomap_new_from_type( const struct wmGizmoMapType_Params *gzmap_params); +void WM_gizmomap_reinit(struct wmGizmoMap *gzmap); const struct ListBase *WM_gizmomap_group_list(struct wmGizmoMap *gzmap); struct wmGizmoGroup *WM_gizmomap_group_find( struct wmGizmoMap *gzmap, |