From b5b156f08973a5130d68788da9860747f7e459c8 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 20 Feb 2016 06:55:16 +1100 Subject: 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. --- source/blender/editors/include/UI_interface.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/include/UI_interface.h') diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 574c6d93cbf..11dc88d615d 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -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 -- cgit v1.2.3