- simplified Theme API. No need to include 'current active area' anymore.
like: BIF_ThemeColor(TH_GRID); will be sufficient. Blender does the rest. - fixed bug in CTRL-X (reload home file) with themes - fixed bug in horizontal alignment of different height panels. Seems also to solve the drawing error with constraints...
This commit is contained in:
@@ -2209,6 +2209,7 @@ void winqreadinfospace(ScrArea *sa, void *spacedata, BWinEvent *evt)
|
||||
bTheme *btheme= U.themes.first;
|
||||
BLI_remlink(&U.themes, btheme);
|
||||
MEM_freeN(btheme);
|
||||
BIF_SetTheme(curarea); // prevent usage of old theme in calls
|
||||
addqueue(sa->win, REDRAW, 1);
|
||||
}
|
||||
else if(val==B_NAME_THEME) {
|
||||
|
||||
Reference in New Issue
Block a user