Don't check against scene notifier twice
authorAntony Riakiotakis <kalast@gmail.com>
Wed, 29 Apr 2015 14:28:20 +0000 (16:28 +0200)
committerAntony Riakiotakis <kalast@gmail.com>
Wed, 29 Apr 2015 14:28:20 +0000 (16:28 +0200)
source/blender/windowmanager/intern/wm_event_system.c

index 830feed2fc7c8caac50752063d402dcfa8b5d831..e2b8598b4fe82c46115b121a6628ab2c820ecda6 100644 (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);
                        }