Blender Git Loki
Git Commits -> Revision c9f7a3b
Revision c9f7a3b by Brecht Van Lommel (master) May 25, 2018, 21:20 (GMT) |
Fix T55207, fix T55208: hair not positioned correctly after subsurf. The problem was that the particle system modifier was reading ob->derivedDeform during modifier stack evaluation. Due to the mesh -> DM conversion this was no longer set leading to wrong results. In fact we don't really need the deformed mesh, just the original mesh topology for face/poly index remapping. So the solution is to use that instead. |
Commit Details:
Full Hash: c9f7a3b32a39aec2c7826f2ffa9939fd705e7237
Parent Commit: 768706c
Lines Changed: +61, -40
10 Modified Paths:
/source/blender/blenkernel/BKE_particle.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/object.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/particle.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/particle_distribute.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+4, -4) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/editors/physics/particle_edit.c (+4, -4) (Diff)
/source/blender/editors/physics/particle_object.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_particlesystem.c (+36, -15) (Diff)
/source/blender/blenkernel/intern/object.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/particle.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/particle_distribute.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+4, -4) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/editors/physics/particle_edit.c (+4, -4) (Diff)
/source/blender/editors/physics/particle_object.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_particlesystem.c (+36, -15) (Diff)