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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-03-12 15:09:06 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-03-12 15:09:06 +0300
commit1337867378f3f0990bea74993564f8864f395520 (patch)
tree109d2d44b562dbdb5d8cadf027f1a32f2f4a58d1 /source/blender/windowmanager
parent4faedb3d91b8d57396c633c3f8b4c9d30bc8f2c4 (diff)
Fix #21183: info stats not updated immediately on undo.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_event_system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c
index b72bc02aca6..9ef94b5e1ff 100644
--- a/source/blender/windowmanager/intern/wm_event_system.c
+++ b/source/blender/windowmanager/intern/wm_event_system.c
@@ -217,7 +217,7 @@ void wm_event_do_notifiers(bContext *C)
}
}
- if(ELEM4(note->category, NC_SCENE, NC_OBJECT, NC_GEOM, NC_SCENE)) {
+ if(ELEM5(note->category, NC_SCENE, NC_OBJECT, NC_GEOM, NC_SCENE, NC_WM)) {
ED_info_stats_clear(CTX_data_scene(C));
WM_event_add_notifier(C, NC_SPACE|ND_SPACE_INFO, NULL);
}