Blender Git Loki
Git Commits -> Revision cfab40b
Revision cfab40b by Joshua Leung (master) January 22, 2012, 03:42 (GMT) |
Fluidsim - Restoring simulation speed control (ZanQdo request) This commit restores support for freezing or speeding up physics sims. Animate the "Speed" parameter under Domain->Time, which controls a multiplier factor for the rate at which the sim proceeds (i.e. the old "Fac-Tim" setting). Notes: * Subversion bumped to 4 to patch up defaults for new value so that old sim files will still run correctly * Names/descriptions could do with some tweaking * Porting this across was not that obvious since quite a bit of stuff had changed (as in, been cleaned up). However, from tests so far, it seems to work well. |
Commit Details:
Full Hash: cfab40b65235a4cf55f74af1da45a9bc4511a3fd
SVN Revision: 43593
Parent Commit: b166791
Lines Changed: +63, -43
7 Modified Paths:
/release/scripts/startup/bl_ui/properties_physics_fluid.py (+5, -0) (Diff)
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+17, -0) (Diff)
/source/blender/editors/physics/physics_fluid.c (+32, -40) (Diff)
/source/blender/makesdna/DNA_object_fluidsim.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_fluidsim.c (+5, -0) (Diff)
/source/blender/modifiers/intern/MOD_fluidsim_util.c (+1, -0) (Diff)
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+17, -0) (Diff)
/source/blender/editors/physics/physics_fluid.c (+32, -40) (Diff)
/source/blender/makesdna/DNA_object_fluidsim.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_fluidsim.c (+5, -0) (Diff)
/source/blender/modifiers/intern/MOD_fluidsim_util.c (+1, -0) (Diff)