fluid cache need a +1 offset, their frame 0 is blender frame 1 (fun stuff)

This commit is contained in:
Martin Poirier 2009-11-07 17:47:54 +00:00
parent 7b96bc00d5
commit 5bb88685ca

@ -34,7 +34,9 @@ def addFluidFiles(job, path):
match = pattern.match(fluid_file)
if match:
current_frame = int(match.groups()[1])
# fluid frames starts at 0, which explains the +1
# This is stupid
current_frame = int(match.groups()[1]) + 1
job.addFile(path + fluid_file, current_frame, current_frame)
def addPointCache(job, ob, point_cache, default_path):