UI: Fix tooltip text color not resetting correctly
authorjulianeisel <julian_eisel@web.de>
Thu, 30 Oct 2014 00:50:48 +0000 (01:50 +0100)
committerjulianeisel <julian_eisel@web.de>
Thu, 30 Oct 2014 00:50:48 +0000 (01:50 +0100)
The "Reset to Default Theme" operator didn't reset the tooltip text color correctly.

source/blender/editors/interface/resources.c

index 5dc9ee0264e6bb9949ae7c8f66c73a424431cf17..5573515391d69abb20b76ed7ebadd2ddba0d9d15 100644 (file)
@@ -818,6 +818,8 @@ void ui_theme_init_default(void)
        btheme->tui.panel.show_header = false;
        rgba_char_args_set(btheme->tui.panel.header, 0, 0, 0, 25);
        
+       rgba_char_args_set(btheme->tui.wcol_tooltip.text, 255, 255, 255, 255);
+       
        rgba_char_args_set_fl(btheme->tui.emboss, 1.0f, 1.0f, 1.0f, 0.02f);
 
        rgba_char_args_set(btheme->tui.xaxis, 220,   0,   0, 255);