Tomato Cycles: report current scene and render layer being rendering
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 6 Aug 2012 10:10:35 +0000 (10:10 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 6 Aug 2012 10:10:35 +0000 (10:10 +0000)
Helps figuring out what exactly takes time when rendering in render farm.

intern/cycles/blender/blender_session.cpp

index 2ebeedc8218944ecb468e54868442af10627accb..9f76d30c77dfa70c1bb3d1ff15e18a04b7645b76 100644 (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;