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:
authorCampbell Barton <ideasman42@gmail.com>2009-07-03 02:22:35 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-07-03 02:22:35 +0400
commitfb5f9273eba4b30e1aa0573388367592b18bdbba (patch)
tree602d0f284227f636dbfb9478ca186ecbadde6932 /source/blender/makesrna/intern/rna_fluidsim.c
parent093ff8202ced6391a2ef657abe42615672146954 (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.c4
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)