diff options
author | Alex Fraser <alex@phatcore.com> | 2013-01-11 06:03:22 +0400 |
---|---|---|
committer | Alex Fraser <alex@phatcore.com> | 2013-01-11 06:03:22 +0400 |
commit | 61833ddd5a9ddb0d43e8b7d64ddfd90ea7f4b529 (patch) | |
tree | 610b754a918507bc53955aef907444c5dede6297 /source/blender/blenkernel | |
parent | 0c3e570868b86c26905c7f731e61f47a9e99deca (diff) |
Fix own mistake in SPH solver selection. Thanks Campbell for pointing it out.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/particle_system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/particle_system.c b/source/blender/blenkernel/intern/particle_system.c index eabfbf2e251..3d777e46442 100644 --- a/source/blender/blenkernel/intern/particle_system.c +++ b/source/blender/blenkernel/intern/particle_system.c @@ -4223,7 +4223,7 @@ static void dynamics_step(ParticleSimulationData *sim, float cfra) ParticleSettings *part = sim->psys->part; psys_sph_init(sim, &sphdata); - if (part->fluid->flag & SPH_SOLVER_DDR) { + if (part->fluid->solver == SPH_SOLVER_DDR) { /* Apply SPH forces using double-density relaxation algorithm * (Clavat et. al.) */ #pragma omp parallel for firstprivate (sphdata) private (pa) schedule(dynamic,5) |