forked from bartvdbraak/blender
Added a comment in the code about a timer that is not being freed and
is causing the smooth view operator to run all the time after closing the file browser, since I can't think of a good way to fix it at the moment.
This commit is contained in:
parent
7d0885915b
commit
4279e6d1fd
@ -623,6 +623,8 @@ void file_draw_list(const bContext *C, ARegion *ar)
|
||||
}
|
||||
}
|
||||
|
||||
/* XXX this timer is never removed, cause smooth view operator
|
||||
to get executed all the time after closing file browser */
|
||||
if (!sfile->loadimage_timer)
|
||||
sfile->loadimage_timer= WM_event_add_timer(CTX_wm_manager(C), CTX_wm_window(C), TIMER1, 1.0/30.0); /* max 30 frames/sec. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user