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;

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to