[Bf-blender-cvs] [18ba32d] master: Don't check against scene notifier twice
Antony Riakiotakis
noreply at git.blender.org
Wed Apr 29 16:28:29 CEST 2015
Commit: 18ba32df37aa84d0a7c884bd1945772df0d9c59f
Author: Antony Riakiotakis
Date: Wed Apr 29 16:28:20 2015 +0200
Branches: master
https://developer.blender.org/rB18ba32df37aa84d0a7c884bd1945772df0d9c59f
Don't check against scene notifier twice
===================================================================
M source/blender/windowmanager/intern/wm_event_system.c
===================================================================
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c
index 830feed..e2b8598 100644
--- a/source/blender/windowmanager/intern/wm_event_system.c
+++ b/source/blender/windowmanager/intern/wm_event_system.c
@@ -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);
}
More information about the Bf-blender-cvs
mailing list