diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-19 08:12:00 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-19 08:12:00 +0400 |
commit | 3b2256f9af04ea59a748b437f748a25c86995fdc (patch) | |
tree | 06653a3295ac5237f6dad180516dc65ee7b3832c /source | |
parent | 0abe99343584ddfbf9f508f145a36a66312a2a60 (diff) |
Fix for last fix, compile error in smoke code.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/smoke.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/smoke.c b/source/blender/blenkernel/intern/smoke.c index 6ccbfe9378b..227b49dc13e 100644 --- a/source/blender/blenkernel/intern/smoke.c +++ b/source/blender/blenkernel/intern/smoke.c @@ -1227,7 +1227,6 @@ static void emit_from_particles(Object *flow_ob, SmokeDomainSettings *sds, Smoke sim.scene = scene; sim.ob = flow_ob; sim.psys = psys; - sim.rng = BLI_rng_new(psys->seed); /* initialize particle cache */ if (psys->part->type == PART_HAIR) { @@ -1403,8 +1402,6 @@ static void emit_from_particles(Object *flow_ob, SmokeDomainSettings *sds, Smoke MEM_freeN(particle_pos); if (particle_vel) MEM_freeN(particle_vel); - - BLI_rng_free(sim.rng); } } |