diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-30 18:59:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-30 18:59:31 +0300 |
commit | 5940f6b3d9cfa99a1b893b6149d36ee0a8c51584 (patch) | |
tree | 0f57b988058f2099808be12a6a59f5043c70b457 /source/blender/editors/include | |
parent | 68c2f7a2d06fa1146f862e4f0959d9aeb60d7456 (diff) |
Fix T58683: Reload Scripts breaks toolbar button formatting
Add a function which clears internal cached operator pointers,
run before reloading scripts.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 5326888036e..f5721c008b2 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -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 |