Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2018-07-06 13:42:58 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2018-07-06 13:50:04 +0300
commit12ce0cfb21d83b70183a64de47ad05b5775b4937 (patch)
treec446abb1183f3330f53b53aac79548b8127c9783 /source/blender/blenloader
parent769104016636b26be1b01726a1ea45c95b184a2e (diff)
Ocean Modifier: removed unused refresh flags
The flags were set and cleared correctly, but nothing was actually reading them.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index a03016c2536..4e845b9a60d 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -5364,7 +5364,7 @@ static void direct_link_modifiers(FileData *fd, ListBase *lb)
OceanModifierData *omd = (OceanModifierData *)md;
omd->oceancache = NULL;
omd->ocean = BKE_ocean_add();
- omd->refresh = MOD_OCEAN_REFRESH_RESET | MOD_OCEAN_REFRESH_SIM;
+ omd->refresh = MOD_OCEAN_REFRESH_RESET;
}
else if (md->type == eModifierType_Warp) {
WarpModifierData *tmd = (WarpModifierData *)md;