Blender Git Loki
Git Commits -> Revision aefd181
Revision aefd181 by Sergey Sharybin (master) May 11, 2018, 12:55 (GMT) |
Fix crash going to edit mode of particles with copy on write We can not rely on edit->psys, it is not set for particle edit, and there is some logic deeper inside which does different things dependent on that. We need to replace those checks with some some HAIR vs. PARTICLES flag and always set psys pointer. |
Commit Details:
Full Hash: aefd181b0b19403eaa6643e63901ff1cd740f881
Parent Commit: af5428a
Lines Changed: +81, -51
7 Modified Paths:
/source/blender/draw/intern/draw_cache.c (+15, -6) (Diff)
/source/blender/draw/intern/draw_cache.h (+3, -3) (Diff)
/source/blender/draw/intern/draw_cache_impl.h (+3, -3) (Diff)
/source/blender/draw/intern/draw_cache_impl_particles.c (+15, -22) (Diff)
/source/blender/draw/modes/particle_mode.c (+26, -17) (Diff)
/source/blender/editors/include/ED_particle.h (+1, -0) (Diff)
/source/blender/editors/physics/particle_edit.c (+18, -0) (Diff)
/source/blender/draw/intern/draw_cache.h (+3, -3) (Diff)
/source/blender/draw/intern/draw_cache_impl.h (+3, -3) (Diff)
/source/blender/draw/intern/draw_cache_impl_particles.c (+15, -22) (Diff)
/source/blender/draw/modes/particle_mode.c (+26, -17) (Diff)
/source/blender/editors/include/ED_particle.h (+1, -0) (Diff)
/source/blender/editors/physics/particle_edit.c (+18, -0) (Diff)