Blender Git Statistics -> Branches -> fix-48991

"Fix-48991" branch

Total commits : 1
Total committers : 1
First Commit : August 1, 2016
Latest Commit : August 1, 2016


Commits by Date

DateNumber of Commits
August 1, 20161

Committers

AuthorNumber of Commits
Alexander Gavrilov1

Popular Files

FilenameTotal Edits
particle_system.c1

Latest commits Feed

August 1, 2016, 18:45 (GMT)
Fix T48991: some particles emitted at a distance from object.

The cause seems to be that despite dt_frac being computed as
1/(subframes+1) with integer subframes value, it doesn't always
add up to exactly 1.0 due to precision limitations. If the sum
is similar to 1.00000???, the last subframe is skipped, and all
particles that were supposed to be emitted in that interval are
emitted next frame, with the code working incorrectly due to
skewed time range.

To fix, separate the code from the dynamic timestep feature that
adjusts the last subframe length into a separate function, and
use it even when dynamic timestep is disabled.

MiikaHweb - Blender Git Statistics v1.06
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021