diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-07-06 13:40:09 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-07-06 13:46:58 +0300 |
commit | 769104016636b26be1b01726a1ea45c95b184a2e (patch) | |
tree | 1c066a4029390b26b6ac08c62ce095cc29e558bd /source/blender/makesdna/DNA_modifier_types.h | |
parent | 3cc2a9b934d072fdd817863aa8e93e2416f5c804 (diff) |
Ocean Modifier: removed the MOD_OCEAN_REFRESH_ADD flag
The flag was only used in readfile.c, and resulted in a delayed call to
BKE_ocean_add(); this call is now immediately made instead as it's not
very expensive.
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index a023237d847..f7fb3e0e376 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -1010,7 +1010,7 @@ enum { enum { MOD_OCEAN_REFRESH_RESET = (1 << 0), MOD_OCEAN_REFRESH_SIM = (1 << 1), - MOD_OCEAN_REFRESH_ADD = (1 << 2), + /* MOD_OCEAN_REFRESH_ADD = (1 << 2), */ MOD_OCEAN_REFRESH_CLEAR_CACHE = (1 << 3), MOD_OCEAN_REFRESH_TOPOLOGY = (1 << 4), }; |