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:
Diffstat (limited to 'source/blender/modifiers/intern/MOD_ocean.c')
-rw-r--r--source/blender/modifiers/intern/MOD_ocean.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_ocean.c b/source/blender/modifiers/intern/MOD_ocean.c
index cd0046b8a31..5cded96efe2 100644
--- a/source/blender/modifiers/intern/MOD_ocean.c
+++ b/source/blender/modifiers/intern/MOD_ocean.c
@@ -120,8 +120,9 @@ static void freeData(ModifierData *md)
OceanModifierData *omd = (OceanModifierData *)md;
BKE_ocean_free(omd->ocean);
- if (omd->oceancache)
+ if (omd->oceancache) {
BKE_ocean_free_cache(omd->oceancache);
+ }
#else /* WITH_OCEANSIM */
/* unused */
(void)md;