Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/render/render_internal.c
| Context not available. | |||||
| /* frame number */ | /* frame number */ | ||||
| spos += sprintf(spos, TIP_("Frame:%d "), (scene->r.cfra)); | spos += sprintf(spos, TIP_("Frame:%d "), (scene->r.cfra)); | ||||
| double currenttime = PIL_check_seconds_timer(); // save current time so we dont have to call | |||||
| // PIL_check_seconds_timer() twice | |||||
| /* accumulated time (for animation rendering) */ | |||||
| if (rs->starttime_animation != 0.0) { // accumulation happening, display it | |||||
| BLI_timecode_string_from_time_simple( | |||||
| info_time_str, sizeof(info_time_str), currenttime - rs->starttime_animation); | |||||
| spos += sprintf(spos, TIP_("| Anim:%s "), info_time_str); | |||||
| } | |||||
| /* previous and elapsed time */ | /* previous and elapsed time */ | ||||
| BLI_timecode_string_from_time_simple(info_time_str, sizeof(info_time_str), rs->lastframetime); | BLI_timecode_string_from_time_simple(info_time_str, sizeof(info_time_str), rs->lastframetime); | ||||
| if (rs->infostr && rs->infostr[0]) { // ? | if (rs->infostr && rs->infostr[0]) { // ? | ||||
| Context not available. | |||||
| } | } | ||||
| BLI_timecode_string_from_time_simple( | BLI_timecode_string_from_time_simple( | ||||
| info_time_str, sizeof(info_time_str), PIL_check_seconds_timer() - rs->starttime); | info_time_str, sizeof(info_time_str), currenttime - rs->starttime); | ||||
| } | } | ||||
| else { | else { | ||||
| spos += sprintf(spos, "| "); | spos += sprintf(spos, "| "); | ||||
| Context not available. | |||||