diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-19 03:40:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-19 04:09:53 +0300 |
commit | b62e1146e13cf94e14d7ef8003b8a4cde87d0437 (patch) | |
tree | 077a3ceaea67da205595644729ef577ab1c70af0 /source/blender/editors/interface/resources.c | |
parent | 014e569258519cbba56fce9a6a29b208ccdbb1f2 (diff) |
UI: add view aligned gizmo color
Was hard coded to white making white backgrounds impractical.
D7162 by @billreynish with edits.
Diffstat (limited to 'source/blender/editors/interface/resources.c')
-rw-r--r-- | source/blender/editors/interface/resources.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c index 6e18352bad3..4207a4b522a 100644 --- a/source/blender/editors/interface/resources.c +++ b/source/blender/editors/interface/resources.c @@ -918,6 +918,9 @@ const uchar *UI_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colorid) case TH_GIZMO_SECONDARY: cp = btheme->tui.gizmo_secondary; break; + case TH_GIZMO_VIEW_ALIGN: + cp = btheme->tui.gizmo_view_align; + break; case TH_GIZMO_A: cp = btheme->tui.gizmo_a; break; |