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
path: root/source
diff options
context:
space:
mode:
authorAlex Fraser <alex@phatcore.com>2013-01-11 06:03:22 +0400
committerAlex Fraser <alex@phatcore.com>2013-01-11 06:03:22 +0400
commit61833ddd5a9ddb0d43e8b7d64ddfd90ea7f4b529 (patch)
tree610b754a918507bc53955aef907444c5dede6297 /source
parent0c3e570868b86c26905c7f731e61f47a9e99deca (diff)
Fix own mistake in SPH solver selection. Thanks Campbell for pointing it out.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/particle_system.c2
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)