Blender Git Loki

Git Commits -> Revision 21cb1f8

Revision 21cb1f8 by Brecht Van Lommel (master)
July 17, 2010, 17:07 (GMT)
Revert part of commit 29079, cleanup of particle path drawing logic

This commit and other commits attempting to fix it broke various things. The
main thing that changed was that instead of computing children/paths in
advance as part of particle_system_update, this was moved to do it just before
drawing or rendering. I've changed back that behavior and tried to keep the
other fixes in the commit.

When the new particle system was just committed, it also worked this way but
gave various problems, and I had to remove that behavior to get things working
stable. Basically it meant that you could get have a path cache that was
outdated in various situations, and it doesn't fit well with dependency graph
evaluation order.

This fixes:
#22823: Children Particle Rendering is broken
#22733: Particle objects not displayed
#22888: SigSegV when rending hair particles
#22820: Another SigSegV when undo adding hairs in particel edit mode
Some particle setups in dupligroups.

The three bugs that the original commit fixed are now also still working in
my tests:
#21316: Hair weight drawing is wrong
#21923: Consistent Crash When Rendering Particle Scene.
#21950: Path rendering option for particles causes crash

Commit Details:

Full Hash: 21cb1f82db01f9e0a69c955569cd6af4356b63e5
SVN Revision: 30442
Parent Commit: 02ef91a
Lines Changed: +74, -47

5 Modified Paths:

/source/blender/blenkernel/BKE_particle.h (+0, -2) (Diff)
/source/blender/blenkernel/intern/particle.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+63, -23) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+7, -14) (Diff)
/source/blender/render/intern/source/convertblender.c (+0, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021