Fix T58683: Reload Scripts breaks toolbar button formatting

Add a function which clears internal cached operator pointers,
run before reloading scripts.
This commit is contained in:
2019-10-01 01:59:31 +10:00
parent 68c2f7a2d0
commit 5940f6b3d9
7 changed files with 39 additions and 4 deletions

View File

@@ -2454,6 +2454,8 @@ void UI_widgetbase_draw_cache_end(void);
void UI_theme_init_default(void);
void UI_style_init_default(void);
void UI_interface_tag_script_reload(void);
/* Special drawing for toolbar, mainly workarounds for inflexible icon sizing. */
#define USE_UI_TOOLBAR_HACK