I am modifying an existing add-on - Render_time.py - to add another label to the panel, but can’t figure out why it isn’t working - here is the code snippet:
if timer[“is_rendering”] and scene.frame_current != scene.frame_start:
row = layout.row()
row.label(text = "Estimated completion xxx: " + str(timedelta(seconds = (timer[“average”] * (scene.frame_end - scene.frame_current)))))
row.label(text = "Completion time: " + time.time())
The “Completion time:” isn’t displaying - the formula isn’t correct, it is just a place holder for now.
Any advice is welcomed.