Tomato Cycles: report current scene and render layer being rendering

Helps figuring out what exactly takes time when rendering in render farm.
This commit is contained in:
Sergey Sharybin
2012-08-06 10:10:35 +00:00
parent 77610e1550
commit c93be80be9

View File

@@ -477,8 +477,13 @@ void BlenderSession::update_status_progress()
get_status(status, substatus);
get_progress(progress, total_time);
timestatus = b_scene.name();
if(b_rlay_name != "")
timestatus += ", " + b_rlay_name;
timestatus += " | ";
BLI_timestr(total_time, time_str);
timestatus = "Elapsed: " + string(time_str) + " | ";
timestatus += "Elapsed: " + string(time_str) + " | ";
if(substatus.size() > 0)
status += " | " + substatus;