diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-07-03 02:22:35 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-07-03 02:22:35 +0400 |
commit | fb5f9273eba4b30e1aa0573388367592b18bdbba (patch) | |
tree | 602d0f284227f636dbfb9478ca186ecbadde6932 /source/blender/makesrna/intern/rna_fluidsim.c | |
parent | 093ff8202ced6391a2ef657abe42615672146954 (diff) |
cmake support for building without fluidsim
Diffstat (limited to 'source/blender/makesrna/intern/rna_fluidsim.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_fluidsim.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_fluidsim.c b/source/blender/makesrna/intern/rna_fluidsim.c index 4316666700f..44a50fbae25 100644 --- a/source/blender/makesrna/intern/rna_fluidsim.c +++ b/source/blender/makesrna/intern/rna_fluidsim.c @@ -130,10 +130,14 @@ static void rna_FluidSettings_update_type(bContext *C, PointerRNA *ptr) static void rna_DomainFluidSettings_memory_estimate_get(PointerRNA *ptr, char *value) { +#ifdef DISABLE_ELBEEM + value[0]= '\0'; +#else Object *ob= (Object*)ptr->id.data; FluidsimSettings *fss= (FluidsimSettings*)ptr->data; fluid_estimate_memory(ob, fss, value); +#endif } static int rna_DomainFluidSettings_memory_estimate_length(PointerRNA *ptr) |