Blender Git Loki

Git Commits -> Revision c3f64ea

Revision c3f64ea by Sergey Sharybin (master)
July 19, 2017, 13:20 (GMT)
Depsgraph: Fixes to make particle system behave more correct

Couple of main things here:

- Properly handle PSYS_UPDATE_* flags from DEG_id_tag_update.

There are still some possible issues here related on the fact
that we don't differentiate different PSYS_UPDATE_* flags here
and handle the mall the same.

Other possibility here is that object level particle settings
evaluation might be forced when particle system evaluation is
tagged for update. Didn't see actual issue here yet, but need
a closer look.

- Don't tag non-object datablocks on visibility changes.

Those don't depend on visibility anyway. This prevents particle
settings IDs from flushing updates to all objects, causing all
cached particles to be lsot.

- Only update translation and geometry components on visibility
changes.

Once again, this prevents particle cache from being invalidated.

We might need to tag material components here still tho.

Commit Details:

Full Hash: c3f64ea009f9783faee174e5a43a02ace514bcab
Parent Commit: a31233f
Lines Changed: +60, -8

1 Modified Path:

/source/blender/depsgraph/intern/depsgraph_tag.cc (+60, -8) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021