diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-10-25 12:47:37 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-11-08 20:31:33 +0300 |
commit | c39f34def9791213d1f4439f6830ccc8f72bc1a7 (patch) | |
tree | 8cf7b8dede1481c0fba2c7f672d68d1cdd0d5054 /source/blender/editors/space_sequencer/space_sequencer.c | |
parent | c81ddc97ef7e6aed227f8893d387849ee8390404 (diff) |
Fix Cycles viewport render info overlapping other text.
Now it shows more compact info below the view/object name. Render time and
memory usage is left out, as in most cases this is not so important. These
could be added back optionally if needed.
Diffstat (limited to 'source/blender/editors/space_sequencer/space_sequencer.c')
-rw-r--r-- | source/blender/editors/space_sequencer/space_sequencer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_sequencer/space_sequencer.c b/source/blender/editors/space_sequencer/space_sequencer.c index 0dd7848699a..092911cb7c2 100644 --- a/source/blender/editors/space_sequencer/space_sequencer.c +++ b/source/blender/editors/space_sequencer/space_sequencer.c @@ -653,7 +653,9 @@ static void sequencer_preview_region_draw(const bContext *C, ARegion *ar) 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); + int xoffset = rect.xmin + U.widget_unit; + int yoffset = rect.xmax; + ED_scene_draw_fps(scene, xoffset, &yoffset); } } |