Blender Git Loki

Git Commits -> Revision d544a61

Revision d544a61 by Lukas Stockner (master)
March 20, 2017, 14:28 (GMT)
Cycles: Update remaining time once per second without waiting for a tile change

Previously, the code would only update the status string if the main status changed.
However, the main status did not include the remaining time, and therefore it wasn't updated until the amount of rendered tiles (which is part of the main status) changed.

This commit therefore makes the BlenderSession remember the time of the last status update and forces a status update if the last one was more than a second ago.

Reviewers: sergey

Differential Revision: https://developer.blender.org/D2465

Commit Details:

Full Hash: d544a61e8a366f05a6360d9e5baea84edcaa2ca0
Parent Commit: a201b99
Lines Changed: +10, -3

3 Modified Paths:

/intern/cycles/blender/blender_session.cpp (+7, -1) (Diff)
/intern/cycles/blender/blender_session.h (+1, -0) (Diff)
/intern/cycles/render/session.cpp (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021