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.
This commit is contained in:
2019-03-08 02:06:22 +11:00
parent 605749ffaa
commit cf38b08f52
5 changed files with 400 additions and 338 deletions

View File

@@ -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,