diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-30 07:47:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-30 07:47:31 +0300 |
commit | 8bef305b6d6628d9d0cd9b8e8765108842fddc5b (patch) | |
tree | bb364cf7a6e7b1cffe6d3ae6dcd10584097b0354 /source/blender/editors/render | |
parent | 56ca7f34dd602208880a41de6923fa71ebf83a29 (diff) |
Cleanup: move BLI_timestr to BLI_timecode
Diffstat (limited to 'source/blender/editors/render')
-rw-r--r-- | source/blender/editors/render/render_internal.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/editors/render/render_internal.c b/source/blender/editors/render/render_internal.c index 2ba1e615a9e..bf2fcb73249 100644 --- a/source/blender/editors/render/render_internal.c +++ b/source/blender/editors/render/render_internal.c @@ -33,7 +33,9 @@ #include "MEM_guardedalloc.h" -#include "BLI_blenlib.h" +#include "BLI_listbase.h" +#include "BLI_rect.h" +#include "BLI_timecode.h" #include "BLI_math.h" #include "BLI_threads.h" #include "BLI_utildefines.h" @@ -374,7 +376,7 @@ static void make_renderinfo_string(const RenderStats *rs, spos += sprintf(spos, IFACE_("Frame:%d "), (scene->r.cfra)); /* previous and elapsed time */ - BLI_timestr(rs->lastframetime, info_time_str, sizeof(info_time_str)); + BLI_timecode_string_from_time_simple(info_time_str, sizeof(info_time_str), rs->lastframetime); if (rs->infostr && rs->infostr[0]) { if (rs->lastframetime != 0.0) @@ -382,7 +384,7 @@ static void make_renderinfo_string(const RenderStats *rs, else spos += sprintf(spos, "| "); - BLI_timestr(PIL_check_seconds_timer() - rs->starttime, info_time_str, sizeof(info_time_str)); + BLI_timecode_string_from_time_simple(info_time_str, sizeof(info_time_str), PIL_check_seconds_timer() - rs->starttime); } else spos += sprintf(spos, "| "); |