diff options
author | Julian Eisel <julian@blender.org> | 2021-08-04 12:29:43 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-08-04 12:30:24 +0300 |
commit | d9a530c55e869376aa2d0e9175a659d965d38d2a (patch) | |
tree | a9cb79cfc5cd5f86722d27042cfbe0f9499fd2c6 | |
parent | 8c21076addf4de01c2f5640c5aaa563d99655783 (diff) |
Fix compile error without `WITH_OCEANSIM` enabled
Was changed in 218df9941097.
-rw-r--r-- | source/blender/blenkernel/intern/ocean.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/ocean.c b/source/blender/blenkernel/intern/ocean.c index 30e9213cdae..4d003ddc900 100644 --- a/source/blender/blenkernel/intern/ocean.c +++ b/source/blender/blenkernel/intern/ocean.c @@ -1639,7 +1639,7 @@ struct Ocean *BKE_ocean_add(void) return oc; } -void BKE_ocean_init(struct Ocean *UNUSED(o), +bool BKE_ocean_init(struct Ocean *UNUSED(o), int UNUSED(M), int UNUSED(N), float UNUSED(Lx), @@ -1662,6 +1662,7 @@ void BKE_ocean_init(struct Ocean *UNUSED(o), short UNUSED(do_jacobian), int UNUSED(seed)) { + return false; } void BKE_ocean_free_data(struct Ocean *UNUSED(oc)) |