Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2010-04-06 13:05:00 +0400
committerMatt Ebb <matt@mke3.net>2010-04-06 13:05:00 +0400
commitc3f64b15ca1880118e9d7d781afb3e74672bc3c4 (patch)
tree3948bc625157505a2a359dbc13b79141ef324282 /source/blender/editors/interface/interface_panel.c
parent4af2b61684a7d17e29447642c9747035e0e75a4e (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.c2
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)) {