diff options
Diffstat (limited to 'source/blender/blenkernel/intern/particle_system.c')
-rw-r--r-- | source/blender/blenkernel/intern/particle_system.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/particle_system.c b/source/blender/blenkernel/intern/particle_system.c index 17195d8c6c3..34f2aa73817 100644 --- a/source/blender/blenkernel/intern/particle_system.c +++ b/source/blender/blenkernel/intern/particle_system.c @@ -4148,7 +4148,9 @@ static void particles_fluid_step(ParticleSimulationData *sim, psys->totpart = 0; } -#ifdef WITH_FLUID +#ifndef WITH_FLUID + UNUSED_VARS(use_render_params, cfra); +#else { Object *ob = sim->ob; FluidModifierData *mmd = (FluidModifierData *)modifiers_findByType(ob, eModifierType_Fluid); @@ -4400,9 +4402,7 @@ static void particles_fluid_step(ParticleSimulationData *sim, } /* Fluid sim particles done. */ } -#else - UNUSED_VARS(use_render_params); -#endif // WITH_FLUID +#endif /* WITH_FLUID */ } static int emit_particles(ParticleSimulationData *sim, PTCacheID *pid, float UNUSED(cfra)) |