Blender Git Commit Log

Git Commits -> Revision cf2c090

Revision cf2c090 by Philipp Oeser (master)
September 26, 2019, 15:27 (GMT)
Fix T69488: Hair particles: rekey disolves the hair then crashes

Caused by rB914427afd512.

Since above commit 'pe_get_current' checks for an active depsgraph. This
caused the skipping of handling
`PT_CACHE_EDIT_UPDATE_PARTICLE_FROM_EVAL`for everything calling
`PE_get_current` (this passes a NULL depsgraph as opposed to
`PE_create_current`). So we now pass a depsgraph here as well...

Note there are two RNA cases where we pass NULL, namely
- rna_ParticleEdit_editable_get
- rna_ParticleEdit_hair_get
I guess these should be fine though (no functional change to current
master)

Reviewers: sergey

Maniphest Tasks: T69488

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

Commit Details:

Full Hash: cf2c09002fae1e5b11acc0f21b67ffb29212ad7a
Parent Commit: 6a33e3b
Lines Changed: +73, -47

9 Modified Paths:

/source/blender/editors/include/ED_particle.h (+8, -2) (Diff)
/source/blender/editors/physics/particle_edit.c (+45, -31) (Diff)
/source/blender/editors/physics/particle_edit_undo.c (+6, -3) (Diff)
/source/blender/editors/space_view3d/view3d_edit.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_convert.c (+3, -2) (Diff)
/source/blender/editors/transform/transform_convert_particle.c (+2, -2) (Diff)
/source/blender/editors/transform/transform_generics.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_gizmo_3d.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+6, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021