Blender Git Loki

Git Commits -> Revision 33a0ba9

July 6, 2018, 15:40 (GMT)
Ocean Modifier: refactored the delayed-refresh approach

The approach of setting 'refresh' flags on the modifier, and performing
the associated actions when the modifier is being evaluated, is a bad
one. Instead, we use the separation of the original and the evaluated
copy to 'refresh' certain things (because they simply aren't set at all
on the original). Other actions are now done directly with BKE_ocean_xxx
functions on the original data, intead of during evaluation.

Commit Details:

Full Hash: 33a0ba967f970f14ff0f90f27bd607b14fe7d8e9
Parent Commit: 76c55c6
Lines Changed: +38, -59

7 Modified Paths:

/source/blender/blenkernel/BKE_ocean.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/ocean.c (+8, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -2) (Diff)
/source/blender/editors/object/object_modifier.c (+7, -3) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+1, -8) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+3, -4) (Diff)
/source/blender/modifiers/intern/MOD_ocean.c (+14, -42) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021