Don't check against scene notifier twice

This commit is contained in:
2015-04-29 16:28:20 +02:00
parent b033736eb7
commit 18ba32df37

View File

@@ -293,7 +293,7 @@ void wm_event_do_notifiers(bContext *C)
do_anim = true;
}
}
if (ELEM(note->category, NC_SCENE, NC_OBJECT, NC_GEOM, NC_SCENE, NC_WM)) {
if (ELEM(note->category, NC_SCENE, NC_OBJECT, NC_GEOM, NC_WM)) {
ED_info_stats_clear(win->screen->scene);
WM_event_add_notifier(C, NC_SPACE | ND_SPACE_INFO, NULL);
}