diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-07-04 16:15:08 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-07-04 16:15:08 +0300 |
commit | fd341dd6f74e7145d5df725170e886f0f3ef51b7 (patch) | |
tree | fa355999349b6d8550114233c5b834c9587efd52 /source/blender/modifiers/intern/MOD_ocean.c | |
parent | d663ec48c06a083de74e90dd9c605e98b28baa37 (diff) |
Added copyData flag to ocean modifier
Diffstat (limited to 'source/blender/modifiers/intern/MOD_ocean.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_ocean.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_ocean.c b/source/blender/modifiers/intern/MOD_ocean.c index 58454782b2e..e9dc7e068ca 100644 --- a/source/blender/modifiers/intern/MOD_ocean.c +++ b/source/blender/modifiers/intern/MOD_ocean.c @@ -163,7 +163,7 @@ static void freeData(ModifierData *md) #endif /* WITH_OCEANSIM */ } -static void copyData(const ModifierData *md, ModifierData *target, const int UNUSED(flag)) +static void copyData(const ModifierData *md, ModifierData *target, const int flag) { #ifdef WITH_OCEANSIM #if 0 @@ -171,7 +171,7 @@ static void copyData(const ModifierData *md, ModifierData *target, const int UNU #endif OceanModifierData *tomd = (OceanModifierData *) target; - modifier_copyData_generic(md, target); + modifier_copyData_generic(md, target, flag); tomd->refresh = 0; @@ -186,6 +186,7 @@ static void copyData(const ModifierData *md, ModifierData *target, const int UNU /* unused */ (void)md; (void)target; + (void)flag; #endif /* WITH_OCEANSIM */ } |