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/transform/transform_gizmo_3d.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/transform/transform_gizmo_3d.c')
-rw-r--r-- | source/blender/editors/transform/transform_gizmo_3d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_gizmo_3d.c b/source/blender/editors/transform/transform_gizmo_3d.c index 0548cc4e503..57f302e2d50 100644 --- a/source/blender/editors/transform/transform_gizmo_3d.c +++ b/source/blender/editors/transform/transform_gizmo_3d.c @@ -397,7 +397,7 @@ static void gizmo_get_axis_color(const int axis_idx, case MAN_AXIS_ROT_C: case MAN_AXIS_SCALE_C: case MAN_AXIS_ROT_T: - copy_v4_fl(r_col, 1.0f); + UI_GetThemeColor4fv(TH_GIZMO_VIEW_ALIGN, r_col); break; } |