diff options
author | Martin Poirier <theeth@yahoo.com> | 2012-02-25 19:38:28 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2012-02-25 19:38:28 +0400 |
commit | 6b9f9771a51450e48d47a816833d100b6ec178bd (patch) | |
tree | fc32d6ea91f5e30907014ed6949bb3838e39d764 /netrender/client.py | |
parent | bd5ff24747c72373e6ea694040f9fd2a264d02ea (diff) |
[#30235] Net Render Master/Slave Not Working in OSX (Blender v2.62 32 Bit)
Reported by Ron Proctor
netrender didn't recursively create missing directory for user specified temporary paths.
Also added environment variables and user expansion to properly support env vars and user (~ and ~user) in paths.
Diffstat (limited to 'netrender/client.py')
-rw-r--r-- | netrender/client.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/netrender/client.py b/netrender/client.py index 069d5bdb..f246dcd8 100644 --- a/netrender/client.py +++ b/netrender/client.py @@ -443,9 +443,7 @@ class NetworkRenderEngine(bpy.types.RenderEngine): result_path = os.path.join(bpy.path.abspath(netsettings.path), "output.exr") folder = os.path.split(result_path)[0] - - if not os.path.exists(folder): - os.mkdir(folder) + verifyCreateDir(folder) f = open(result_path, "wb") |