Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-10-29 12:20:16 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-10-29 12:20:16 +0300
commit4e6f5fabd4094ed16e1271c7d48251bdbd07143e (patch)
treececdeb06c95bde5af2535614c8514387b18a0cea /source/blender/editors/undo
parent0e268fb68b612e44a74a74631df206c8aaded97b (diff)
Fix topbar UI being lost on undo w/ mode change
Diffstat (limited to 'source/blender/editors/undo')
-rw-r--r--source/blender/editors/undo/ed_undo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/undo/ed_undo.c b/source/blender/editors/undo/ed_undo.c
index 1d5c57a39b4..8b4292dedbd 100644
--- a/source/blender/editors/undo/ed_undo.c
+++ b/source/blender/editors/undo/ed_undo.c
@@ -214,6 +214,8 @@ static int ed_undo_step(bContext *C, int step, const char *undoname, ReportList
WM_event_add_notifier(C, NC_WINDOW, NULL);
WM_event_add_notifier(C, NC_WM | ND_UNDO, NULL);
+ WM_toolsystem_refresh_active(C);
+
Main *bmain = CTX_data_main(C);
WM_toolsystem_refresh_screen_all(bmain);