[#20672] TimeLine (arrows will not proceed animation)

RNA notifiers don't have a window and didn't get picked up correctly by the animation redraw system. If there's no window defined in a scene notifier, handle it anyway if the scene matches (or if there aren't any).
This commit is contained in:
Martin Poirier
2010-01-14 19:53:26 +00:00
parent 9e79f2d92a
commit e9e89ecfc3

View File

@@ -187,7 +187,10 @@ void wm_event_do_notifiers(bContext *C)
printf("screen delete %p\n", note->reference);
}
}
else if(note->category==NC_SCENE) {
}
if(note->window==win || (note->window == NULL && (note->reference == NULL || note->reference == CTX_data_scene(C)))) {
if(note->category==NC_SCENE) {
if(note->data==ND_SCENEBROWSE) {
ED_screen_set_scene(C, note->reference); // XXX hrms, think this over!
if(G.f & G_DEBUG)