Fix VSE showing FPS during scrubbing
Was intended to be disabled in rBa3b86611a8182, but disabled 3D View FPS drawing instead of VSE drawing. Triple checked but 3D View doesn't draw FPS now, so everything seems fine now. Note: To recreate this you had to play animation once before scrubbing.
This commit is contained in:
parent
2ec0d53034
commit
3b4a8f1cfa
|
@ -587,7 +587,7 @@ static void sequencer_preview_area_draw(const bContext *C, ARegion *ar)
|
|||
draw_image_seq(C, scene, ar, sseq, scene->r.cfra, over_cfra - scene->r.cfra, true, false);
|
||||
}
|
||||
|
||||
if ((U.uiflag & USER_SHOW_FPS) && ED_screen_animation_playing(wm)) {
|
||||
if ((U.uiflag & USER_SHOW_FPS) && ED_screen_animation_no_scrub(wm)) {
|
||||
rcti rect;
|
||||
ED_region_visible_rect(ar, &rect);
|
||||
ED_scene_draw_fps(scene, &rect);
|
||||
|
|
|
@ -3877,7 +3877,7 @@ static void view3d_main_area_draw_info(const bContext *C, Scene *scene,
|
|||
if ((v3d->flag2 & V3D_RENDER_OVERRIDE) == 0) {
|
||||
wmWindowManager *wm = CTX_wm_manager(C);
|
||||
|
||||
if ((U.uiflag & USER_SHOW_FPS) && ED_screen_animation_no_scrub(wm)) {
|
||||
if ((U.uiflag & USER_SHOW_FPS) && ED_screen_animation_playing(wm)) {
|
||||
ED_scene_draw_fps(scene, &rect);
|
||||
}
|
||||
else if (U.uiflag & USER_SHOW_VIEWPORTNAME) {
|
||||
|
|
Loading…
Reference in New Issue