Revision: 42016
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=42016
Author: nazgul
Date: 2011-11-20 16:21:49 +0000 (Sun, 20 Nov 2011)
Log Message:
-----------
Fix compilation error with oceansim disabled
Modified Paths:
--------------
trunk/blender/source/blender/blenkernel/intern/ocean.c
Modified: trunk/blender/source/blender/blenkernel/intern/ocean.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/ocean.c 2011-11-20
16:21:13 UTC (rev 42015)
+++ trunk/blender/source/blender/blenkernel/intern/ocean.c 2011-11-20
16:21:49 UTC (rev 42016)
@@ -1404,15 +1404,16 @@
{
}
-struct OceanCache *BKE_init_ocean_cache(char *UNUSED(bakepath), int
UNUSED(start), int UNUSED(end), float UNUSED(wave_scale),
- float UNUSED(chop_amount),
float UNUSED(foam_coverage), float UNUSED(foam_fade), int UNUSED(resolution))
+struct OceanCache *BKE_init_ocean_cache(const char *UNUSED(bakepath), const
char *UNUSED(relbase),
+ int UNUSED(start), int UNUSED(end),
float UNUSED(wave_scale),
+ float UNUSED(chop_amount), float
UNUSED(foam_coverage), float UNUSED(foam_fade), int UNUSED(resolution))
{
OceanCache *och = MEM_callocN(sizeof(OceanCache), "ocean cache data");
return och;
}
-void BKE_simulate_ocean_cache(struct OceanCache *UNUSED(och), const char
*UNUSED(relbase), int UNUSED(frame))
+void BKE_simulate_ocean_cache(struct OceanCache *UNUSED(och), int
UNUSED(frame))
{
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs