diff options
author | Matt Ebb <matt@mke3.net> | 2010-04-06 13:05:00 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-04-06 13:05:00 +0400 |
commit | c3f64b15ca1880118e9d7d781afb3e74672bc3c4 (patch) | |
tree | 3948bc625157505a2a359dbc13b79141ef324282 /source/blender/editors/interface/interface_panel.c | |
parent | 4af2b61684a7d17e29447642c9747035e0e75a4e (diff) |
Tweak/code shuffle to make disabled buttons draw nicer on nodes.
Diffstat (limited to 'source/blender/editors/interface/interface_panel.c')
-rw-r--r-- | source/blender/editors/interface/interface_panel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c index e4088a64a17..278dba13b6b 100644 --- a/source/blender/editors/interface/interface_panel.c +++ b/source/blender/editors/interface/interface_panel.c @@ -864,6 +864,8 @@ void uiEndPanels(const bContext *C, ARegion *ar) if(firstpa) firstpa->runtime_flag |= PNL_FIRST; + UI_ThemeClearColor(TH_BACK); + /* draw panels, selected on top */ for(block= ar->uiblocks.first; block; block=block->next) { if(block->active && block->panel && !(block->panel->flag & PNL_SELECT)) { |