diff options
author | Martin Poirier <theeth@yahoo.com> | 2011-12-31 22:25:00 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2011-12-31 22:25:00 +0400 |
commit | 7b00374ef198ea1801ac1e04ff98b949d80dd992 (patch) | |
tree | 4edfc1ac422afc669ea73255949cadf4678cf875 /netrender/ui.py | |
parent | 14138fd7df450aaa7813cebc63ca891542d60c4e (diff) |
netrender
wip feature: distributed point cache baking. Distributed baking works but results are sent back to master/client yet. Feature is disabled in the UI for this reason.
new feature: job and slave tags, enables filtering slaves for specific jobs
jobs are dispatched to a slave only it has no tags or all the job's tags
Render jobs have the tag "render" by default while baking jobs the tag "baking"
UI: Web interface additions to reflect tags and job subtypes (render/baking)
bug fix: reseting a completed job correctly resets the status to queued
Diffstat (limited to 'netrender/ui.py')
-rw-r--r-- | netrender/ui.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/netrender/ui.py b/netrender/ui.py index 66939435..6193b7a6 100644 --- a/netrender/ui.py +++ b/netrender/ui.py @@ -159,6 +159,7 @@ class RENDER_PT_network_slave_settings(NetRenderButtonsPanel, bpy.types.Panel): rd = context.scene.render netsettings = context.scene.network_render + layout.prop(netsettings, "slave_tags", text="Tags") layout.prop(netsettings, "use_slave_clear") layout.prop(netsettings, "use_slave_thumb") layout.prop(netsettings, "use_slave_output_log") @@ -206,6 +207,7 @@ class RENDER_PT_network_job(NetRenderButtonsPanel, bpy.types.Panel): if netsettings.server_address != "[default]": layout.operator("render.netclientanim", icon='RENDER_ANIMATION') layout.operator("render.netclientsend", icon='FILE_BLEND') + #layout.operator("render.netclientsendbake", icon='PHYSICS') layout.operator("render.netclientsendframe", icon='RENDER_STILL') if netsettings.job_id: row = layout.row() @@ -215,6 +217,7 @@ class RENDER_PT_network_job(NetRenderButtonsPanel, bpy.types.Panel): layout.prop(netsettings, "job_type", text="Type") layout.prop(netsettings, "job_name", text="Name") layout.prop(netsettings, "job_category", text="Category") + layout.prop(netsettings, "job_tags", text="Tags") layout.prop(netsettings, "job_render_engine", text="Engine") if netsettings.job_render_engine == "OTHER": @@ -411,6 +414,12 @@ class NetRenderSettings(bpy.types.PropertyGroup): description="Generate thumbnails on slaves instead of master", default = False) + NetRenderSettings.slave_tags = StringProperty( + name="Tags", + description="Tags to associate with the slave (semi-colon separated)", + maxlen = 256, + default = "") + NetRenderSettings.use_slave_output_log = BoolProperty( name="Output render log on console", description="Output render text log to console as well as sending it to the master", @@ -465,6 +474,12 @@ class NetRenderSettings(bpy.types.PropertyGroup): maxlen = 128, default = "") + NetRenderSettings.job_tags = StringProperty( + name="Tags", + description="Tags to associate with the job (semi-colon separated)", + maxlen = 256, + default = "") + NetRenderSettings.job_render_engine = EnumProperty( items = ( ("BLENDER_RENDER", "BLENDER", "Standard Blender Render"), |