Blender Git Loki
Git Commits -> Revision a44299c
Revision a44299c by Phil Stopford (master) August 3, 2020, 14:08 (GMT) |
Ocean Modifier: Add viewport resolution Following work done in 2.83, the resolution control is now a real level-of-detail parameter. It is now useful to be able to set the resolution for display independently from render. This is true for both mesh generation and mesh deformation modes. For compatibility with old scenes, resolution is retained and is the render resolution. Old modifiers loaded have the value of resolution also applied to viewport resolution. This allows newer modifiers to be used in older versions without trouble Differential Revision: https://developer.blender.org/D8336 |
Commit Details:
Full Hash: a44299ccd11759363a18f623f7070c4e2febe33f
Parent Commit: 30b52b6
Committed By: Hans Goudey
Lines Changed: +64, -25
7 Modified Paths:
/source/blender/blenkernel/BKE_ocean.h (+4, -2) (Diff)
/source/blender/blenkernel/intern/ocean.c (+10, -6) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+11, -0) (Diff)
/source/blender/editors/object/object_modifier.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+4, -2) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+12, -2) (Diff)
/source/blender/modifiers/intern/MOD_ocean.c (+22, -12) (Diff)
/source/blender/blenkernel/intern/ocean.c (+10, -6) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+11, -0) (Diff)
/source/blender/editors/object/object_modifier.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+4, -2) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+12, -2) (Diff)
/source/blender/modifiers/intern/MOD_ocean.c (+22, -12) (Diff)