[Bf-blender-cvs] [d9998f24abd] blender2.8: Fix Movieclip editors 'graph' and 'dopesheet' view using themes region background setting
Philipp Oeser
noreply at git.blender.org
Mon May 7 15:06:17 CEST 2018
Commit: d9998f24abd2ebf737037c3f4922ad065022217e
Author: Philipp Oeser
Date: Mon May 7 14:57:05 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBd9998f24abd2ebf737037c3f4922ad065022217e
Fix Movieclip editors 'graph' and 'dopesheet' view using themes region
background setting
mentioned in T54942
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D3200
===================================================================
M source/blender/editors/interface/resources.c
===================================================================
diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c
index 40170ce1256..602a88daa14 100644
--- a/source/blender/editors/interface/resources.c
+++ b/source/blender/editors/interface/resources.c
@@ -172,7 +172,7 @@ const unsigned char *UI_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colo
switch (colorid) {
case TH_BACK:
- if (theme_regionid == RGN_TYPE_WINDOW)
+ if (ELEM(theme_regionid, RGN_TYPE_WINDOW, RGN_TYPE_PREVIEW))
cp = ts->back;
else if (theme_regionid == RGN_TYPE_CHANNELS)
cp = ts->list;
More information about the Bf-blender-cvs
mailing list