netrender

Save and Restore master from disk.

When the "clear on exit" option is off, write a data file (blender_master.data) in the master's path on exit and reads it back on load.

Note: Jobs and Slaves lists are restored, but not balancer settings (problem with the pickle module).
This commit is contained in:
2010-06-20 20:33:59 +00:00
parent be8a2de393
commit 78d3793d31
2 changed files with 50 additions and 4 deletions

View File

@@ -47,7 +47,9 @@ def update(job):
new_path = path + ".remap" + ext
all = main_file.filepath == main_file.original_path
# Disable for now. Partial repath should work anyway
#all = main_file.filepath != main_file.original_path
all = False
for rfile in job.files[1:]:
if all or rfile.original_path != rfile.filepath: