diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-08-16 05:47:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-16 05:47:24 +0300 |
commit | 70bcb0c01c185dde6b73358561eb175bc5c3650d (patch) | |
tree | bf74f3fd5cf0cfeb2b44cc2d7039e6e58fc1c51e /source/blender/editors/space_view3d/view3d_gizmo_navigate_type.c | |
parent | 9a72342c6e1bed83e730280f8a7811936058cd98 (diff) |
3D View: tweaks to navigation gizmo
- Only show axis backdrop when hovering.
- Move closer to the screen corner.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_gizmo_navigate_type.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_gizmo_navigate_type.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_gizmo_navigate_type.c b/source/blender/editors/space_view3d/view3d_gizmo_navigate_type.c index 5a4f910955e..b68ed61e06c 100644 --- a/source/blender/editors/space_view3d/view3d_gizmo_navigate_type.c +++ b/source/blender/editors/space_view3d/view3d_gizmo_navigate_type.c @@ -218,7 +218,7 @@ static void axis_geom_draw(const wmGizmo *gz, const float color[4], const bool U if ((draw_center_done == false) && (axis_order[axis_index].depth > -0.01f)) { /* Circle defining active area (revert back to 2D space). */ - { + if (color[3] != 0.0f) { GPU_matrix_pop(); immUniformColor4fv(color); imm_draw_circle_fill_3d(pos_id, 0, 0, 1.0f, DIAL_RESOLUTION); |