Fix T42950: Smoke particle flow doesn't work with high res and subframes unless "set size" option is ticked.

This commit is contained in:
Miika Hamalainen 2015-02-06 21:23:43 +02:00
parent a42553f986
commit 1b85ca6fc0
Notes: blender-bot 2023-02-14 09:42:33 +01:00
Referenced by issue #42950, Smoke does not work with Hi-RES and Sub Frames
1 changed files with 3 additions and 0 deletions

View File

@ -2131,6 +2131,9 @@ static void update_flowsfluids(Scene *scene, Object *ob, SmokeDomainSettings *sd
if (sfs->source == MOD_SMOKE_FLOW_SOURCE_PARTICLES) {
/* emit_from_particles() updates timestep internally */
emit_from_particles(collob, sds, sfs, &em_temp, scene, sdt);
if (!(sfs->flags & MOD_SMOKE_FLOW_USE_PART_SIZE)) {
hires_multiplier = 1;
}
}
else { /* MOD_SMOKE_FLOW_SOURCE_MESH */
/* update flow object frame */