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:
authorLukas Toenne <lukas.toenne@googlemail.com>2011-11-13 18:39:10 +0400
committerLukas Toenne <lukas.toenne@googlemail.com>2011-11-13 18:39:10 +0400
commitcbef65dedaf7afb3ec8cb00fd7ab4b206cc02c45 (patch)
tree019c3d85747ae689aa8ab800e2f4a36347333feb /source/blender/blenkernel/intern/ocean.c
parenta7c37e525481d17d06e3a9993b1c765c7385d2cb (diff)
Stub data in Ocean modifier when disabled, C standard does not allow empty structs.
Diffstat (limited to 'source/blender/blenkernel/intern/ocean.c')
-rw-r--r--source/blender/blenkernel/intern/ocean.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/ocean.c b/source/blender/blenkernel/intern/ocean.c
index 455acd2130f..24d7701dcfc 100644
--- a/source/blender/blenkernel/intern/ocean.c
+++ b/source/blender/blenkernel/intern/ocean.c
@@ -1314,6 +1314,8 @@ void BKE_bake_ocean(struct Ocean *o, struct OceanCache *och, void (*update_cb)(v
/* stub */
typedef struct Ocean {
+ /* need some data here, C does not allow empty struct */
+ int stub;
} Ocean;