[Bf-blender-cvs] [23c03bf0cc4] blender2.8: UI: Dark XYZ characters in the navigation gizmo

Pablo Vazquez noreply at git.blender.org
Thu Aug 23 17:15:53 CEST 2018


Commit: 23c03bf0cc4fa85e4b5316b47beb3f8e7be2faa7
Author: Pablo Vazquez
Date:   Thu Aug 23 17:15:44 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB23c03bf0cc4fa85e4b5316b47beb3f8e7be2faa7

UI: Dark XYZ characters in the navigation gizmo

Much easier to read against the usually brighter axes colors.

===================================================================

M	source/blender/editors/space_view3d/view3d_gizmo_navigate_type.c

===================================================================

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 b68ed61e06c..4b1fe375084 100644
--- a/source/blender/editors/space_view3d/view3d_gizmo_navigate_type.c
+++ b/source/blender/editors/space_view3d/view3d_gizmo_navigate_type.c
@@ -295,7 +295,7 @@ static void axis_geom_draw(const wmGizmo *gz, const float color[4], const bool U
 				GPU_line_width(1.0f);
 				float m3[3][3];
 				copy_m3_m4(m3, gz->matrix_offset);
-				immUniformColor4fv(is_highlight ? axis_black : axis_highlight);
+				immUniformColor4fv(axis_black);
 				draw_xyz_wire(pos_id, m3, v_final, 1.0, axis);
 			}
 		}



More information about the Bf-blender-cvs mailing list