Thanks for the fix, are you sure this was intended? -...@rnatype On Fri, Feb 26, 2010 at 3:37 AM, Martin Poirier <the...@yahoo.com> wrote: > Revision: 27148 > > http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27148 > Author: theeth > Date: 2010-02-26 03:37:31 +0100 (Fri, 26 Feb 2010) > > Log Message: > ----------- > Netrender: check if library and image files exist before adding as dependency. > > Modified Paths: > -------------- > trunk/blender/release/scripts/io/netrender/client.py > > Modified: trunk/blender/release/scripts/io/netrender/client.py > =================================================================== > --- trunk/blender/release/scripts/io/netrender/client.py 2010-02-26 > 02:33:04 UTC (rev 27147) > +++ trunk/blender/release/scripts/io/netrender/client.py 2010-02-26 > 02:37:31 UTC (rev 27148) > @@ -113,14 +113,18 @@ > # LIBRARIES > ########################### > for lib in bpy.data.libraries: > - job.addFile(bpy.utils.expandpath(lib.filename)) > + file_path = bpy.utils.expandpath(lib.filename) > + if os.path.exists(file_path): > + job.addFile(file_path) > > ########################### > # IMAGES > ########################### > for image in bpy.data.images: > if image.source == "FILE" and not image.packed_file: > - job.addFile(bpy.utils.expandpath(image.filename)) > + file_path = bpy.utils.expandpath(image.filename) > + if os.path.exists(file_path): > + job.addFile(file_path) > > ########################### > # FLUID + POINT CACHE > @@ -178,7 +182,6 @@ > def requestResult(conn, job_id, frame): > conn.request("GET", renderURL(job_id, frame)) > > -...@rnatype > class NetworkRenderEngine(bpy.types.RenderEngine): > bl_idname = 'NET_RENDER' > bl_label = "Network Render" > > > _______________________________________________ > Bf-blender-cvs mailing list > bf-blender-...@blender.org > http://lists.blender.org/mailman/listinfo/bf-blender-cvs >
-- - Campbell _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers