Blender Git Loki
Git Commits -> Revision de55ae5
Revision de55ae5 by Sybren A. Stüvel (master) July 10, 2018, 10:00 (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: de55ae56ae5d871b5bc7fa6383c90ef89d66fcd1
Parent Commit: b9bef10
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)
/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)