Blender Git Commit Log

Git Commits -> Revision d2f3378

Revision d2f3378 by Sergey Sharybin (master)
January 31, 2019, 15:53 (GMT)
Fix T59339: Particle render without baking issues

The issue was caused by dependency graph resetting particles
when evaluating copy-on-write version of object. Solved by
only doing reset from dependency graph on user edits.

Other issue was caused by modifier itself trying to compare
topology and reset particles when number of vertices or faces
changed. This isn't reliable, since topology might change even
with same number of elements. But also, since copy-on-written
object initially always have those fields zero-ed the reset
was happening on every F12.

The latter issue is solved by moving reset from modifier stack
to places where we exit edit/paint modes which might be changing
topology.

There is still weird issue of particles generated at some
weird location after tapping tab twice, but this is not a new
issue in 2.8 branch and is to be looked separately.

Commit Details:

Full Hash: d2f3378249902cdc093c54c41afb1b48ae8357c3
Parent Commit: 0d2b977
Lines Changed: +26, -13

6 Modified Paths:

/source/blender/blenkernel/BKE_particle.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+12, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+4, -1) (Diff)
/source/blender/editors/object/object_edit.c (+2, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+5, -0) (Diff)
/source/blender/modifiers/intern/MOD_particlesystem.c (+0, -12) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021