Fix T50976: Blender UI problems with certain theme files.
Core of the issue was that some of our Theme colors are RGB-only, but were loaded as RGBA. Note that tracking all possible cases is pretty impossible, so we'll have to tackle those as they get reported am afraid.
This commit is contained in:
@@ -600,6 +600,7 @@ const char *uiLayoutIntrospect(uiLayout *layout) RET_NULL
|
||||
void UI_reinit_font(void) RET_NONE
|
||||
int UI_rnaptr_icon_get(struct bContext *C, struct PointerRNA *ptr, int rnaicon, const bool big) RET_ZERO
|
||||
struct bTheme *UI_GetTheme(void) RET_NULL
|
||||
void UI_GetThemeColor3fv(int colorid, float col[4]) RET_NONE
|
||||
void UI_GetThemeColor4fv(int colorid, float col[4]) RET_NONE
|
||||
void UI_GetThemeColorShade4fv(int colorid, int offset, float col[4]) RET_NONE
|
||||
void UI_GetThemeColorShadeAlpha4fv(int colorid, int coloffset, int alphaoffset, float col[4]) RET_NONE
|
||||
|
Reference in New Issue
Block a user