Blender Git Loki

Git Commits -> Revision 2512c6c

Revision 2512c6c by Janne Karhu (master)
November 24, 2010, 10:56 (GMT)
Fixes for [#24862] Fluid Simulator issues
* Fluid baking (using the job system) didn't update the "lastgoodframe" anymore, so reversing the frames didn't work. Now the last valid frame is checked by going through all fluid bake files when "reverse frames" is selected.
* There was all kinds of fancy checks done in the fluid modifier for reading a different frame in different cases, but as the "lastgoodframe" was really not working I don't see the point of this whole code, so removed it for now. The new functionality is: if the fluid data for current frame exists use it, otherwise just return unmodified domain mesh without any fancy backup plans.
* There were also some errors on reading uncompleted files (scrubbing timeline while bake was running), so I made the fluid file reader just return null if the number of faces didn't correspond to to actually read data. Previously this just printed an error to the console.

Commit Details:

Full Hash: 2512c6ce881e11b7cdc96d12a1de2f712237d7c3
SVN Revision: 33278
Parent Commit: 05f2e47
Lines Changed: +44, -35

2 Modified Paths:

/source/blender/makesrna/intern/rna_fluidsim.c (+35, -0) (Diff)
/source/blender/modifiers/intern/MOD_fluidsim_util.c (+9, -35) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021