BLF: replace global aa pref w/ monochrome flag
Now disabling anti-aliasing doesn't impact sequencer, render stamp etc.
This commit is contained in:
@@ -531,6 +531,13 @@ void uiStyleInit(void)
|
||||
flag_disable |= BLF_HINTING;
|
||||
}
|
||||
|
||||
if (U.text_render & USER_TEXT_DISABLE_AA) {
|
||||
flag_enable |= BLF_MONOCHROME;
|
||||
}
|
||||
else {
|
||||
flag_disable |= BLF_MONOCHROME;
|
||||
}
|
||||
|
||||
for (font = U.uifonts.first; font; font = font->next) {
|
||||
if (font->blf_id != -1) {
|
||||
BLF_enable(font->blf_id, flag_enable);
|
||||
|
||||
Reference in New Issue
Block a user