diff options
Diffstat (limited to 'source/blender/modifiers/intern/MOD_ocean.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_ocean.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/modifiers/intern/MOD_ocean.c b/source/blender/modifiers/intern/MOD_ocean.c index f36d3674913..2613cf2b944 100644 --- a/source/blender/modifiers/intern/MOD_ocean.c +++ b/source/blender/modifiers/intern/MOD_ocean.c @@ -122,9 +122,9 @@ static void initData(ModifierData *md) omd->size = 1.0; omd->repeat_x = 1; omd->repeat_y = 1; - - strcpy(omd->cachepath, "//ocean_cache/"); - + + BLI_strncpy(omd->cachepath, "//ocean_cache", sizeof(omd->cachepath)); + omd->cached = 0; omd->bakestart = 1; omd->bakeend = 250; |