diff options
author | Martin Poirier <theeth@yahoo.com> | 2012-04-23 01:06:02 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2012-04-23 01:06:02 +0400 |
commit | 395bca8bda4dcd8b57ac64abeb103a456491c0bf (patch) | |
tree | 6362e358dea6d8d2006a93282d45b1ecb53c47c9 /netrender/ui.py | |
parent | 4dd5ac39b82cec6302d4fd699ef13ceb5ccceb53 (diff) |
netrender
job and frame status cleanup (move to the model module)
record transitions between states in job to be able to get (among others) the started and finished time.
Diffstat (limited to 'netrender/ui.py')
-rw-r--r-- | netrender/ui.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/netrender/ui.py b/netrender/ui.py index fbf17c8d..4aa085c9 100644 --- a/netrender/ui.py +++ b/netrender/ui.py @@ -26,7 +26,7 @@ from netrender.utils import * from bpy.props import PointerProperty, StringProperty, BoolProperty, EnumProperty, IntProperty, CollectionProperty -VERSION = b"0.3" +VERSION = b"0.5" PATH_PREFIX = "/tmp/" @@ -352,8 +352,8 @@ class RENDER_PT_network_jobs(NeedValidAddress, NetRenderButtonsPanel, bpy.types. layout.label(text="Name: %s" % job.name) layout.label(text="Length: %04i" % len(job)) - layout.label(text="Done: %04i" % job.results[FRAME_DONE]) - layout.label(text="Error: %04i" % job.results[FRAME_ERROR]) + layout.label(text="Done: %04i" % job.results[netrender.model.FRAME_DONE]) + layout.label(text="Error: %04i" % job.results[netrender.model.FRAME_ERROR]) import bl_ui.properties_render as properties_render class RENDER_PT_network_output(NeedValidAddress, NetRenderButtonsPanel, bpy.types.Panel): |