diff options
author | Martin Poirier <theeth@yahoo.com> | 2011-01-31 01:15:50 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2011-01-31 01:15:50 +0300 |
commit | d5c7231339c5a5a9714549e0e919fbbd331f09d0 (patch) | |
tree | f0a0a48df0bd3e0548740d9d16d8841249b72edb | |
parent | 14d8921fff3563a3ba1127fe55bf4b558f42566a (diff) |
[#25693] Netrender "shadow" images with last frame always appear
Better handling of FSAA when downloading results and on slaves.
-rw-r--r-- | release/scripts/io/netrender/slave.py | 4 | ||||
-rw-r--r-- | release/scripts/io/netrender/utils.py | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/release/scripts/io/netrender/slave.py b/release/scripts/io/netrender/slave.py index 378871566a8..b05de0afeb9 100644 --- a/release/scripts/io/netrender/slave.py +++ b/release/scripts/io/netrender/slave.py @@ -170,6 +170,10 @@ def render_slave(engine, netsettings, threads): if not os.path.exists(JOB_PREFIX): os.mkdir(JOB_PREFIX) + # set tempdir for fsaa temp files + # have to set environ var because render is done in a subprocess and that's the easiest way to propagate the setting + os.environ["TMP"] = JOB_PREFIX + if job.type == netrender.model.JOB_BLENDER: job_path = job.files[0].filepath # path of main file diff --git a/release/scripts/io/netrender/utils.py b/release/scripts/io/netrender/utils.py index 8cdb0230379..e18d915dae0 100644 --- a/release/scripts/io/netrender/utils.py +++ b/release/scripts/io/netrender/utils.py @@ -259,6 +259,10 @@ def _getResults(server_address, server_port, job_id, resolution_x, resolution_y, render.resolution_x = int(resolution_x) render.resolution_y = int(resolution_y) render.resolution_percentage = int(resolution_percentage) + + render.use_full_sample = False + render.use_compositing = False + render.use_border = False def getFileInfo(filepath, infos): |