From 49fe27ee46b4d9272957c21c13365db322ca8396 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Tue, 8 May 2018 14:21:02 +0200 Subject: Modifiers: sanitize/cleanup modifiers' copying & freeing code. Should also fix T55000: Crash with hooks and curves in Cycles render. --- source/blender/modifiers/intern/MOD_ocean.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/blender/modifiers/intern/MOD_ocean.c') diff --git a/source/blender/modifiers/intern/MOD_ocean.c b/source/blender/modifiers/intern/MOD_ocean.c index a9c4afcc0af..240b6247cf5 100644 --- a/source/blender/modifiers/intern/MOD_ocean.c +++ b/source/blender/modifiers/intern/MOD_ocean.c @@ -167,8 +167,6 @@ static void copyData(ModifierData *md, ModifierData *target) #endif OceanModifierData *tomd = (OceanModifierData *) target; - freeData(target); - modifier_copyData_generic(md, target); tomd->refresh = 0; -- cgit v1.2.3