Blender Git Loki

Git Commits -> Revision 7a6b46a

Revision 7a6b46a by Jacques Lucke (master)
March 5, 2019, 14:24 (GMT)
Fix T62163: Duplicating particle system results in crash

There were two problems:
1. `mesh_get_eval_final` has to be called with the evaluated object.
2. Particle systems have to have unique names within an object.
The depsgraph seems to use the particle system name as identifier.
This issue is actually independent of duplication.
The old code used a small hack to create unique names.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D4451

Commit Details:

Full Hash: 7a6b46aac56b2a529370129bbedcd20f408c6352
Parent Commit: 302bba1
Lines Changed: +21, -13

4 Modified Paths:

/source/blender/blenkernel/BKE_particle.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/particle.c (+7, -11) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+7, -0) (Diff)
/source/blender/editors/physics/particle_object.c (+5, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021