netrender

adjust dependency calculations for cache files of smoke simulations (no more separate paths for low and high). That was changed a while ago in the api, just didn't update yet.
This commit is contained in:
Martin Poirier 2010-12-27 19:48:45 +00:00
parent b2be78c0cc
commit 39919c7856

@ -221,9 +221,7 @@ def clientSendJobBlender(conn, scene, anim = False):
elif modifier.type == "SOFT_BODY": elif modifier.type == "SOFT_BODY":
addPointCache(job, object, modifier.point_cache, default_path) addPointCache(job, object, modifier.point_cache, default_path)
elif modifier.type == "SMOKE" and modifier.smoke_type == "TYPE_DOMAIN": elif modifier.type == "SMOKE" and modifier.smoke_type == "TYPE_DOMAIN":
addPointCache(job, object, modifier.domain_settings.point_cache_low, default_path) addPointCache(job, object, modifier.domain_settings.point_cache, default_path)
if modifier.domain_settings.use_high_resolution:
addPointCache(job, object, modifier.domain_settings.point_cache_high, default_path)
elif modifier.type == "MULTIRES" and modifier.is_external: elif modifier.type == "MULTIRES" and modifier.is_external:
file_path = bpy.path.abspath(modifier.filepath) file_path = bpy.path.abspath(modifier.filepath)
job.addFile(file_path) job.addFile(file_path)