Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_modifier.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 5,588 Lines • ▼ Show 20 Lines | static const EnumPropertyItem geometry_items[] = { | ||||
| "Generate", | "Generate", | ||||
| "Generate ocean surface geometry at the specified resolution"}, | "Generate ocean surface geometry at the specified resolution"}, | ||||
| {MOD_OCEAN_GEOM_DISPLACE, | {MOD_OCEAN_GEOM_DISPLACE, | ||||
| "DISPLACE", | "DISPLACE", | ||||
| 0, | 0, | ||||
| "Displace", | "Displace", | ||||
| "Displace existing geometry according to simulation"}, | "Displace existing geometry according to simulation"}, | ||||
| # if 0 | # if 0 | ||||
| {MOD_OCEAN_GEOM_SIM_ONLY, | {MOD_OCEAN_GEOM_SIM_ONLY, | ||||
pioverfour: Sharp peaks with peak sharpening sounds almost nonsensical.
Also, this item describes an… | |||||
| "SIM_ONLY", | "SIM_ONLY", | ||||
| 0, | 0, | ||||
| "Sim Only", | "Sim Only", | ||||
| "Leaves geometry unchanged, but still runs simulation (to be used from texture)"}, | "Leaves geometry unchanged, but still runs simulation (to be used from texture)"}, | ||||
| # endif | # endif | ||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| static const EnumPropertyItem spectrum_items[] = { | static const EnumPropertyItem spectrum_items[] = { | ||||
| {MOD_OCEAN_SPECTRUM_PHILLIPS, | {MOD_OCEAN_SPECTRUM_PHILLIPS, | ||||
| "PHILLIPS", | "PHILLIPS", | ||||
| 0, | 0, | ||||
| "Turbulent Ocean", | "Turbulent Ocean", | ||||
| "Use for turbulent seas with foam"}, | "Use for turbulent seas with foam"}, | ||||
| {MOD_OCEAN_SPECTRUM_PIERSON_MOSKOWITZ, | {MOD_OCEAN_SPECTRUM_PIERSON_MOSKOWITZ, | ||||
| "PIERSON_MOSKOWITZ", | "PIERSON_MOSKOWITZ", | ||||
| 0, | 0, | ||||
| "Established Ocean", | "Established Ocean", | ||||
| "Use for a large area, established ocean (Pierson-Moskowitz method)"}, | "Use for a large area, established ocean (Pierson-Moskowitz method)"}, | ||||
| {MOD_OCEAN_SPECTRUM_JONSWAP, | {MOD_OCEAN_SPECTRUM_JONSWAP, | ||||
| "JONSWAP", | "JONSWAP", | ||||
| 0, | 0, | ||||
| "Established Ocean (Sharp Peaks)", | "Established Ocean (Sharp Peaks)", | ||||
| "Use for sharp peaks ('JONSWAP', Pierson-Moskowitz method) with peak sharpening"}, | "Use for established oceans ('JONSWAP', Pierson-Moskowitz method) with peak sharpening"}, | ||||
| {MOD_OCEAN_SPECTRUM_TEXEL_MARSEN_ARSLOE, | {MOD_OCEAN_SPECTRUM_TEXEL_MARSEN_ARSLOE, | ||||
| "TEXEL_MARSEN_ARSLOE", | "TEXEL_MARSEN_ARSLOE", | ||||
| 0, | 0, | ||||
| "Shallow Water", | "Shallow Water", | ||||
| "Use for shallow water ('JONSWAP', 'TMA' - Texel-Marsen-Arsloe method)"}, | "Use for shallow water ('JONSWAP', 'TMA' - Texel-Marsen-Arsloe method)"}, | ||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| ▲ Show 20 Lines • Show All 1,788 Lines • Show Last 20 Lines | |||||
Sharp peaks with peak sharpening sounds almost nonsensical.
Also, this item describes an established ocean, which isn’t mentioned in the tooltips. I believe the author made a mistake after copy and pasting from the previous item.