Set line-width, point size when running callbacks

Since 2.76 Blender no longer resets these after use,
this may break add-ons, so reset before calling region callbacks.
This commit is contained in:
2016-02-20 06:55:16 +11:00
parent aed2a97a86
commit b5b156f089
3 changed files with 15 additions and 1 deletions

View File

@@ -776,6 +776,7 @@ void UI_popup_handlers_remove_all(struct bContext *C, struct ListBase *handlers)
void UI_init(void);
void UI_init_userdef(void);
void UI_reinit_font(void);
void UI_reinit_gl_state(void);
void UI_exit(void);
/* Layout