diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-11 16:16:34 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-11 16:16:34 +0400 |
commit | dbea322b261be6771844aeb4e0539b46274e4c85 (patch) | |
tree | 6679d94b5d48c3e18ffcd361105dbb62e59dd867 /source/blender | |
parent | 758c2282635f77ee1317d4bdbdf1959bf0c09525 (diff) |
resetting the theme wasnt changign the panel header.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/interface/resources.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c index a70db7ad235..5eacef1478a 100644 --- a/source/blender/editors/interface/resources.c +++ b/source/blender/editors/interface/resources.c @@ -590,9 +590,9 @@ static void ui_theme_init_new(bTheme *btheme) /* initialize default theme - Note: when you add new colors, created & saved themes need initialized - use function below, init_userdef_do_versions() -*/ + * Note: when you add new colors, created & saved themes need initialized + * use function below, init_userdef_do_versions() + */ void ui_theme_init_default(void) { bTheme *btheme; @@ -613,7 +613,9 @@ void ui_theme_init_default(void) /* UI buttons */ ui_widget_color_init(&btheme->tui); btheme->tui.iconfile[0]= 0; - + btheme->tui.panel.show_header = FALSE; + SETCOL(btheme->tui.panel.header, 0, 0, 0, 25); + /* Bone Color Sets */ ui_theme_init_boneColorSets(btheme); |