[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47495] trunk/blender/source/blender/ blenkernel/intern/smoke.c: fix for building without smoke.

Campbell Barton ideasman42 at gmail.com
Wed Jun 6 07:37:51 CEST 2012


Revision: 47495
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47495
Author:   campbellbarton
Date:     2012-06-06 05:37:38 +0000 (Wed, 06 Jun 2012)
Log Message:
-----------
fix for building without smoke.

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/smoke.c

Modified: trunk/blender/source/blender/blenkernel/intern/smoke.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/smoke.c	2012-06-06 05:12:00 UTC (rev 47494)
+++ trunk/blender/source/blender/blenkernel/intern/smoke.c	2012-06-06 05:37:38 UTC (rev 47495)
@@ -150,6 +150,7 @@
 struct WTURBULENCE *smoke_turbulence_init(int *UNUSED(res), int UNUSED(amplify), int UNUSED(noisetype)) { return NULL; }
 struct FLUID_3D *smoke_init(int *UNUSED(res), float *UNUSED(p0)) { return NULL; }
 void smoke_free(struct FLUID_3D *UNUSED(fluid)) {}
+float *smoke_get_density(struct FLUID_3D *UNUSED(fluid)) { return NULL; }
 void smoke_turbulence_free(struct WTURBULENCE *UNUSED(wt)) {}
 void smoke_initWaveletBlenderRNA(struct WTURBULENCE *UNUSED(wt), float *UNUSED(strength)) {}
 void smoke_initBlenderRNA(struct FLUID_3D *UNUSED(fluid), float *UNUSED(alpha), float *UNUSED(beta), float *UNUSED(dt_factor), float *UNUSED(vorticity), int *UNUSED(border_colli)) {}




More information about the Bf-blender-cvs mailing list