Blender Git Loki

Git Commits -> Revision dadb1cc

Revision dadb1cc by Bastien Montagne (master)
January 2, 2013, 16:03 (GMT)
Fix [#33189] AFTER 2.65 - Units in doc strings in ocean modifier.

Also:
* Fixes a (op prop) bug which prevented, once you had baked and freed ocean once, to bake again.
* Fixed infinite values of acumulated foam when baking with foam_fade values above 1.0, now simply clipping accumulated foam value to 1.0, as already done for the "instantaneaous" foam value returned by BKE_ocean_jminus_to_foam().
* Added missing RNA descriptions.
* Made foam_fade unanimatable!
* Added in UI some missing properties that are imho useful: random seed, size (kindof 'surface scaling'), and foam_fade (baking only).
* Removed custom lerp() func from bke's ocean.c, BLI's interpf does exactly the same thing (the first two args are just in reversed order). Note: this could most certainly be done in other parts of the code, bpy's mathutils for e.g. has its own linear interpolation code for vectors and matrices :/).
* Did some general code cleanup (mostly line length and no C++ -> C comments)...

Commit Details:

Full Hash: dadb1ccd9298688addf811dd62e6dcc6b4f49a45
SVN Revision: 53507
Parent Commit: 55f3361
Lines Changed: +247, -190

4 Modified Paths:

/release/scripts/startup/bl_ui/properties_data_modifier.py (+14, -4) (Diff)
/source/blender/blenkernel/intern/ocean.c (+200, -152) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+21, -18) (Diff)
/source/blender/modifiers/intern/MOD_ocean.c (+12, -16) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021