Skip to content
Snippets Groups Projects
Commit c9946e45 authored by Martin Poirier's avatar Martin Poirier
Browse files

netrender

correcting smoke domain modifier type restriction

Patch by Philippe Van Hecke
parent 9edd2f5d
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ class RENDER_OT_netslave_bake(bpy.types.Operator): ...@@ -61,7 +61,7 @@ class RENDER_OT_netslave_bake(bpy.types.Operator):
modifier.point_cache.frame_step = 1 modifier.point_cache.frame_step = 1
modifier.point_cache.use_disk_cache = True modifier.point_cache.use_disk_cache = True
modifier.point_cache.use_external = False modifier.point_cache.use_external = False
elif modifier.type == "SMOKE" and modifier.smoke_type == "TYPE_DOMAIN": elif modifier.type == "SMOKE" and modifier.smoke_type == "DOMAIN":
modifier.domain_settings.point_cache.use_step = 1 modifier.domain_settings.point_cache.use_step = 1
modifier.domain_settings.point_cache.use_disk_cache = True modifier.domain_settings.point_cache.use_disk_cache = True
modifier.domain_settings.point_cache.use_external = False modifier.domain_settings.point_cache.use_external = False
......
...@@ -127,7 +127,7 @@ def process(paths): ...@@ -127,7 +127,7 @@ def process(paths):
processPointCache(object, modifier.point_cache) processPointCache(object, modifier.point_cache)
elif modifier.type == "SOFT_BODY": elif modifier.type == "SOFT_BODY":
processPointCache(object, modifier.point_cache) processPointCache(object, modifier.point_cache)
elif modifier.type == "SMOKE" and modifier.smoke_type == "TYPE_DOMAIN": elif modifier.type == "SMOKE" and modifier.smoke_type == "DOMAIN":
processPointCache(modifier.domain_settings.point_cache_low) processPointCache(modifier.domain_settings.point_cache_low)
if modifier.domain_settings.use_high_resolution: if modifier.domain_settings.use_high_resolution:
processPointCache(modifier.domain_settings.point_cache_high) processPointCache(modifier.domain_settings.point_cache_high)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment