Blender Git Loki

Git Commits -> Revision e198c5a

Revision e198c5a by Sergey Sharybin (master)
January 25, 2019, 13:02 (GMT)
Fix crash happening with hair step

The issue was caused by the hair step checking whether
particle system needs to have path cache. This was done
in a way which was traversing an entire scene and was
checking every object for particle instance modifier.

Ideally, path cache should be an own operation in the
dependency graph. Or at least, this flag should be set
by dependency graph builder, similar to curve's path.

Since the code was broken already (it was only checking
first particle instance modifier), it is easier to
remove the buggy code, solve the crash and move on for
now.

If this causes an issue, simply set particle system to
be rendered as path.

Fixes crash with playback of Spring scenes.

Commit Details:

Full Hash: e198c5a175cf2c44a034d9a42e51027fe89002b8
Parent Commit: da13a3b
Lines Changed: +0, -17

1 Modified Path:

/source/blender/blenkernel/intern/particle_system.c (+0, -17) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021