Blender Git Loki

Git Commits -> Revision c523e82

Revision c523e82 by Sergey Sharybin (master)
April 8, 2015, 15:17 (GMT)
Particles: Fix for missing particles in render if they're disabled for viewport

The issue was introduced in rB4b685e1 and it appears some crazy area still
accesses particles for render after deleting it's render data, which broke
viewport/render behavior.

This commit restores previous G.is_rendering logic and adds corresponding
checks to cache construction, so counting is all consistent.

Goes to the TODO list to either replace G.is_rendering with eval_ctx or to
make it so psys->renderdata always exists during render sync.

Commit Details:

Full Hash: c523e82e3176fe8663f7513ae727265311835908
Parent Commit: 2d05466
Lines Changed: +6, -6

1 Modified Path:

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