diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_modifier.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_modifier.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index 6e5e38ab52e..24a35980f28 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -1038,8 +1038,10 @@ static void rna_fluid_set_type(Main *bmain, Scene *scene, PointerRNA *ptr) return; } +# ifdef WITH_FLUID fluidModifier_free(mmd); /* XXX TODO: completely free all 3 pointers */ fluidModifier_createType(mmd); /* create regarding of selected type */ +# endif switch (mmd->type) { case MOD_FLUID_TYPE_DOMAIN: |